diff options
Diffstat (limited to 'lib/command.php')
-rw-r--r-- | lib/command.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/command.php b/lib/command.php index 2a8075e7b..3fb4d76c7 100644 --- a/lib/command.php +++ b/lib/command.php @@ -479,7 +479,7 @@ class MessageCommand extends Command return; } - $this->text = common_shorten_links($this->text); + $this->text = $this->user->shortenLinks($this->text); if (Message::contentTooLong($this->text)) { // XXX: i18n. Needs plural support. @@ -582,7 +582,7 @@ class ReplyCommand extends Command return; } - $this->text = common_shorten_links($this->text); + $this->text = $this->user->shortenLinks($this->text); if (Notice::contentTooLong($this->text)) { // XXX: i18n. Needs plural support. |