mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 14:33:18 +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);
|
$profile = self::actorFirstOrCreate($actor);
|
||||||
$obj = $this->payload['object'];
|
$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']) {
|
switch ($obj['type']) {
|
||||||
case 'Accept':
|
case 'Accept':
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in a new issue