ソースを参照

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()