mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update Inbox
This commit is contained in:
parent
f4e0788dc0
commit
c00428721c
1 changed files with 3 additions and 3 deletions
|
@ -243,7 +243,7 @@ class Inbox
|
|||
public function handleAcceptActivity()
|
||||
{
|
||||
|
||||
$actor = $this->payload['actor'];
|
||||
$actor = $this->payload['object']['actor'];
|
||||
$obj = $this->payload['object']['object'];
|
||||
$type = $this->payload['object']['type'];
|
||||
|
||||
|
@ -251,8 +251,8 @@ class Inbox
|
|||
return;
|
||||
}
|
||||
|
||||
$actor = Helpers::validateUrl($actor);
|
||||
$target = Helpers::validateLocalUrl($obj);
|
||||
$actor = Helpers::validateLocalUrl($actor);
|
||||
$target = Helpers::validateUrl($obj);
|
||||
|
||||
if(!$actor || !$target) {
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue