From: Michael Date: Fri, 1 Apr 2022 21:27:40 +0000 (+0000) Subject: added empty object type X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1db3143dc5bef5e2c452dd4a9603eca1c8aad6a8;p=friendica.git added empty object type --- diff --git a/src/Protocol/ActivityPub/Receiver.php b/src/Protocol/ActivityPub/Receiver.php index 4de28fc2a8..253e4d6310 100644 --- a/src/Protocol/ActivityPub/Receiver.php +++ b/src/Protocol/ActivityPub/Receiver.php @@ -752,7 +752,7 @@ class Receiver break; 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 } else { self::storeUnhandledActivity(true, $type, $object_data, $activity, $body, $uid, $trust_source, $push, $signer);