浏览代码

Update Inbox

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'];
-        $obj = $this->payload['object'];
+        $obj = $this->payload['object']['object'];
         $type = $this->payload['object']['type'];
 
         if($type !== 'Follow') {