diff options
Diffstat (limited to 'actions/newmessage.php')
-rw-r--r-- | actions/newmessage.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php index c58ed3849..447a00580 100644 --- a/actions/newmessage.php +++ b/actions/newmessage.php @@ -144,7 +144,7 @@ class NewmessageAction extends Action $this->showForm(_('No content!')); return; } else { - $content_shortened = common_shorten_links($this->content); + $content_shortened = $user->shortenLinks($this->content); if (Message::contentTooLong($content_shortened)) { // TRANS: Form validation error displayed when message content is too long. |