Merge pull request #1463 from pixelfed/frontend-ui-refactor

Update AP Inbox
This commit is contained in:
daniel 2019-06-25 13:17:43 -06:00 committed by GitHub
commit c126425e00
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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) {