Преглед изворни кода

Update RemoteFollowPipeline job

Daniel Supernault пре 6 година
родитељ
комит
28827559d5
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      app/Jobs/RemoteFollowPipeline/RemoteFollowPipeline.php

+ 1 - 1
app/Jobs/RemoteFollowPipeline/RemoteFollowPipeline.php

@@ -83,7 +83,7 @@ class RemoteFollowPipeline implements ShouldQueue
         $profile->domain = $domain;
         $profile->username = $remoteUsername;
         $profile->name = $res['name'];
-        $profile->bio = str_limit($res['summary'], 125);
+        $profile->bio = Purify::clean($res['summary']);
         $profile->sharedInbox = $res['endpoints']['sharedInbox'];
         $profile->remote_url = $res['url'];
         $profile->save();