浏览代码

Update AP Inbox, log activities

Daniel Supernault 5 年之前
父节点
当前提交
eed00998be
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      app/Util/ActivityPub/Inbox.php

+ 4 - 0
app/Util/ActivityPub/Inbox.php

@@ -40,6 +40,10 @@ class Inbox
     public function handle()
     {
         $this->handleVerb();
+
+        (new Activity())->save([
+            'data' => json_encode($this->payload)
+        ]);
     }
 
     public function handleVerb()