1
0
Fork 0
forked from mirror/pixelfed

Update AP Inbox

This commit is contained in:
Daniel Supernault 2019-06-25 13:17:16 -06:00
parent 4219abe95c
commit b77cb188b9
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -323,6 +323,7 @@ class Inbox
break; break;
case 'Announce': case 'Announce':
$obj = $obj['object'];
abort_if(!Helpers::validateLocalUrl($obj), 400); abort_if(!Helpers::validateLocalUrl($obj), 400);
$status = Helpers::statusFetch($obj); $status = Helpers::statusFetch($obj);
if(!$status) { if(!$status) {