]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
URL shortening fix for direct messages: if we're going to shorten the text, shorten...
authorBrion Vibber <brion@pobox.com>
Thu, 2 Dec 2010 21:59:51 +0000 (13:59 -0800)
committerBrion Vibber <brion@pobox.com>
Thu, 2 Dec 2010 21:59:51 +0000 (13:59 -0800)
classes/Message.php

index c4508187bb7db3f3671fbee08d76dab5f1a76ea7..484d1f724c09749637b802d3976e6a03f1a01e9b 100644 (file)
@@ -57,7 +57,7 @@ class Message extends Memcached_DataObject
         } else {
             $msg->content = common_shorten_links($content);
         }
-        $msg->rendered = common_render_text($content);
+        $msg->rendered = common_render_text($msg->content);
         $msg->created = common_sql_now();
         $msg->source = $source;