From 5024982dbb3fd45bca6657a2ad3086819242f1dc Mon Sep 17 00:00:00 2001 From: Gregor Kralik Date: Mon, 17 Nov 2025 12:08:55 +0100 Subject: [PATCH] Fix: mis-spelled userReactions feature "Update feature enum for BBB 3.0" (littleredbutton/bigbluebutton-api-php#225) introduced new cases for the Feature enum. The BBB feature 'userReactions' was mis-spelled and included as 'userActions' (case USER_ACTIONS). Add the correct USER_REACTIONS case with value 'userReactions'. Keep the wrong USER_ACTIONS case to not break existing (changing its value to userReactions is not possible as PHP enums do not allow duplicate values). See https://docs.bigbluebutton.org/development/api/#updates-to-api-in-bigbluebutton --- src/Enum/Feature.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Enum/Feature.php b/src/Enum/Feature.php index 640f1db9..16c18d72 100644 --- a/src/Enum/Feature.php +++ b/src/Enum/Feature.php @@ -56,7 +56,9 @@ enum Feature: string case REPLY_CHAT_MESSAGE = 'replyChatMessage'; case CHAT_MESSAGE_REACTIONS = 'chatMessageReactions'; case RAISE_HAND = 'raiseHand'; + /** @deprecated BC only. Use Feature::USER_REACTIONS instead. */ case USER_ACTIONS = 'userActions'; + case USER_REACTIONS = 'userReactions'; case CHAT_EMOJI_PICKER = 'chatEmojiPicker'; case QUIZZES = 'quizzes'; }