From 28717a256109d93ea124ced1e41c34e0212d1f60 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Mon, 24 Apr 2023 06:34:58 -0600 Subject: [PATCH] Update inbox --- app/Util/ActivityPub/Inbox.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Util/ActivityPub/Inbox.php b/app/Util/ActivityPub/Inbox.php index 90bb99d5d..8b0327697 100644 --- a/app/Util/ActivityPub/Inbox.php +++ b/app/Util/ActivityPub/Inbox.php @@ -1189,7 +1189,7 @@ class Inbox if($profileId) { $accountId = $profileId->id; } - } else if(str_contains($object_url, '/p/')) { + } else if(str_contains($objectUrl, '/p/')) { $postId = last(explode('/', $objectUrl)); $objects->push($postId); } else {