1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-25 01:05:36 +00:00

Update AP Inbox, fix url bug

This commit is contained in:
Daniel Supernault 2019-09-06 22:00:24 -06:00
parent 76a2d38275
commit 6e4a56236e
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -130,7 +130,7 @@ class Inbox
}
$inReplyTo = $activity['inReplyTo'];
$url = $activity['id'];
$url = isset($activity['url']) ? $activity['url'] : $activity['id'];
Helpers::statusFirstOrFetch($url, true);
return;
@ -148,7 +148,7 @@ class Inbox
return;
}
$url = $activity['id'];
$url = isset($activity['url']) ? $activity['url'] : $activity['id'];
if(Status::whereUrl($url)->exists()) {
return;
}