diff --git a/actions/apistatusesupdate.php b/actions/apistatusesupdate.php index b0f3527160..0385b01961 100644 --- a/actions/apistatusesupdate.php +++ b/actions/apistatusesupdate.php @@ -300,6 +300,9 @@ class ApiStatusesUpdateAction extends ApiAuthAction if (isset($upload)) { $status_shortened .= ' ' . $upload->shortUrl(); +//JBTEST + $status_shortened = $this->auth_user->shortenlinks($status_shortened); +//JBTEST if (Notice::contentTooLong($status_shortened)) { $upload->delete();