mirror of https://github.com/pixelfed/pixelfed.git
Update AP Inbox
This commit is contained in:
parent
4219abe95c
commit
b77cb188b9
|
@ -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 New Issue