Browse Source

Update AP Inbox, log activities

Daniel Supernault 5 năm trước cách đây
mục cha
commit
eed00998be
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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()