Merge pull request #1668 from pixelfed/staging

Update AP Inbox, fix url bug
pull/1673/head
daniel 6 years ago committed by GitHub
commit 7af9dcd2ec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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;
}

Loading…
Cancel
Save