Browse Source

Update inbox

Daniel Supernault 2 years ago
parent
commit
28717a2561
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Util/ActivityPub/Inbox.php

+ 1 - 1
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 {