mirror of
https://github.com/friendica/friendica
synced 2025-04-27 08:30:10 +00:00
The direction field needs to be removed
This commit is contained in:
parent
986877b1cf
commit
8410c5e283
3 changed files with 9 additions and 2 deletions
|
@ -784,7 +784,12 @@ class Receiver
|
|||
}
|
||||
|
||||
if (in_array($type, self::CONTENT_TYPES)) {
|
||||
return self::processObject($object);
|
||||
$object_data = self::processObject($object);
|
||||
|
||||
if (!empty($data)) {
|
||||
$object_data['raw'] = json_encode($data);
|
||||
}
|
||||
return $object_data;
|
||||
}
|
||||
|
||||
if ($type == 'as:Announce') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue