X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=plugins%2FFacebook%2Ffacebookaction.php;h=e4edcea0d9708337ee825e283862f74db1ebe8f2;hb=d6030714f3bbdfa63053040ca86655f4b4a6c83f;hp=4c15fc03978ac6ece1ef1d05ad6807df4c4c785e;hpb=74785c64f86293a1e81ae8497cc88172fc30ef1b;p=quix0rs-gnu-social.git diff --git a/plugins/Facebook/facebookaction.php b/plugins/Facebook/facebookaction.php index 4c15fc0397..e4edcea0d9 100644 --- a/plugins/Facebook/facebookaction.php +++ b/plugins/Facebook/facebookaction.php @@ -370,7 +370,7 @@ class FacebookAction extends Action $this->showPage(_m('No notice content!')); return; } else { - $content_shortened = common_shorten_links($content); + $content_shortened = $user->shortenLinks($content); if (Notice::contentTooLong($content_shortened)) { // @todo FIXME: i18n: Needs plural.