URL shortening fix for direct messages: if we're going to shorten the text, shorten the rendered text too.

This commit is contained in:
Brion Vibber 2010-12-02 13:59:51 -08:00
parent aa96c3c1d9
commit 043f0ad152

View 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;