mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-27 00:33:17 +00:00
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