mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-23 21:43:17 +00:00
Update Inbox, fixes #3305
This commit is contained in:
parent
cd4f73bed9
commit
14231632d5
1 changed files with 5 additions and 0 deletions
|
@ -687,6 +687,11 @@ class Inbox
|
|||
$profile = self::actorFirstOrCreate($actor);
|
||||
$obj = $this->payload['object'];
|
||||
|
||||
// TODO: Some implementations do not inline the object, skip for now
|
||||
if(!$obj || !is_array($obj) || !isset($obj['type'])) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch ($obj['type']) {
|
||||
case 'Accept':
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue