added empty object type
This commit is contained in:
parent
71afbabbd8
commit
1db3143dc5
|
@ -752,7 +752,7 @@ class Receiver
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'litepub:EmojiReact':
|
case 'litepub:EmojiReact':
|
||||||
if (in_array($object_data['object_type'], self::CONTENT_TYPES)) {
|
if (in_array($object_data['object_type'], array_merge([''], self::CONTENT_TYPES))) {
|
||||||
// Unhandled Pleroma activity to react to a post via an emoji
|
// Unhandled Pleroma activity to react to a post via an emoji
|
||||||
} else {
|
} else {
|
||||||
self::storeUnhandledActivity(true, $type, $object_data, $activity, $body, $uid, $trust_source, $push, $signer);
|
self::storeUnhandledActivity(true, $type, $object_data, $activity, $body, $uid, $trust_source, $push, $signer);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user