diff options
Diffstat (limited to 'classes')
-rw-r--r-- | classes/Message.php | 2 | ||||
-rw-r--r-- | classes/Notice.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/classes/Message.php b/classes/Message.php index 8674f7f80..ef4bd0316 100644 --- a/classes/Message.php +++ b/classes/Message.php @@ -41,7 +41,7 @@ class Message extends Memcached_DataObject $msg->from_profile = $from; $msg->to_profile = $to; - $msg->content = $content; + $msg->content = common_shorten_links($content); $msg->rendered = common_render_text($content); $msg->created = common_sql_now(); $msg->source = $source; diff --git a/classes/Notice.php b/classes/Notice.php index ceec7a2fa..83862ae95 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -127,7 +127,7 @@ class Notice extends Memcached_DataObject $notice->reply_to = $reply_to; $notice->created = common_sql_now(); - $notice->content = $content; + $notice->content = common_shorten_links($content); $notice->rendered = common_render_content($notice->content, $notice); $notice->source = $source; $notice->uri = $uri; |