From d85cdd13de8039a7fcf45f5d24277c34387c4deb Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 7 Oct 2019 03:36:51 -0600 Subject: [PATCH] Update AP inbox --- app/Util/ActivityPub/Inbox.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 8cc001f0..eec2290c 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -307,7 +307,7 @@ class Inbox $id = $this->payload['object']['id']; switch ($type) { case 'Person': - $profile = Helpers::fetchProfile($actor); + $profile = Helpers::profileFetch($actor); if(!$profile || $profile->private_key != null) { return; } @@ -323,7 +323,7 @@ class Inbox break; case 'Tombstone': - $profile = Helpers::fetchProfile($actor); + $profile = Helpers::profileFetch($actor); $status = Status::whereProfileId($profile->id) ->whereUri($id) ->orWhereUrl($id)