forked from mirror/pixelfed
Merge pull request #1463 from pixelfed/frontend-ui-refactor
Update AP Inbox
This commit is contained in:
commit
c126425e00
1 changed files with 1 additions and 0 deletions
|
@ -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) {
|
||||||
|
|
Loading…
Reference in a new issue