]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - actions/newmessage.php
Merge branch '0.9.x' into testing
[quix0rs-gnu-social.git] / actions / newmessage.php
index c58ed3849e57630aff43c77c980f95f68f107b48..447a00580cfe8cb17fab4f3a0173e5b8c3cab6b9 100644 (file)
@@ -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.