1
0
Fork 0
forked from mirror/pixelfed

Update inbox

This commit is contained in:
Daniel Supernault 2023-04-24 06:34:58 -06:00
parent e7f7072349
commit 28717a2561
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1189,7 +1189,7 @@ class Inbox
if($profileId) { if($profileId) {
$accountId = $profileId->id; $accountId = $profileId->id;
} }
} else if(str_contains($object_url, '/p/')) { } else if(str_contains($objectUrl, '/p/')) {
$postId = last(explode('/', $objectUrl)); $postId = last(explode('/', $objectUrl));
$objects->push($postId); $objects->push($postId);
} else { } else {