Browse Source

Update AP Inbox, log activities

Daniel Supernault 5 years ago
parent
commit
eed00998be
1 changed files with 4 additions and 0 deletions
  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()