Explorar el Código

Update AP Inbox, log activities

Daniel Supernault hace 5 años
padre
commit
eed00998be
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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()