Skip to content

Commit 0178d70

Browse files
authored
Fix: mis-spelled userReactions feature (#231)
"Update feature enum for BBB 3.0" (#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
1 parent a8c6b3c commit 0178d70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Enum/Feature.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,9 @@ enum Feature: string
5656
case REPLY_CHAT_MESSAGE = 'replyChatMessage';
5757
case CHAT_MESSAGE_REACTIONS = 'chatMessageReactions';
5858
case RAISE_HAND = 'raiseHand';
59+
/** @deprecated BC only. Use Feature::USER_REACTIONS instead. */
5960
case USER_ACTIONS = 'userActions';
61+
case USER_REACTIONS = 'userReactions';
6062
case CHAT_EMOJI_PICKER = 'chatEmojiPicker';
6163
case QUIZZES = 'quizzes';
6264
}

0 commit comments

Comments
 (0)