Daniel Supernault преди 6 години
родител
ревизия
00047e9b1b
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Util/ActivityPub/Inbox.php

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

@@ -246,7 +246,7 @@ class Inbox
     {
     {
 
 
         $actor = $this->payload['actor'];
         $actor = $this->payload['actor'];
-        $obj = $this->payload['object'];
+        $obj = $this->payload['object']['object'];
         $type = $this->payload['object']['type'];
         $type = $this->payload['object']['type'];
 
 
         if($type !== 'Follow') {
         if($type !== 'Follow') {