From eed00998bee846aefa3e86d9d0699ba41622f88b Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Wed, 29 Apr 2020 13:27:05 -0600 Subject: [PATCH] Update AP Inbox, log activities --- app/Util/ActivityPub/Inbox.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 195b8d6e..247f40d3 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/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()