Explorar o código

Update AP Inbox

Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
20749d7c3c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Util/ActivityPub/Inbox.php

+ 1 - 1
app/Util/ActivityPub/Inbox.php

@@ -233,7 +233,7 @@ class Inbox
         $dm->from_id = $actor->id;
         $dm->status_id = $status->id;
         $dm->is_hidden = $hidden;
-        $dm->type = $request->input('type');
+        $dm->type = 'text';
         $dm->save();
 
         if(count($activity['attachment'])) {