Skip to content

Commit

Permalink
feat(bo): add new meeting action canStartBreakout (#4097)
Browse files Browse the repository at this point in the history
  • Loading branch information
mickelr authored Feb 20, 2025
1 parent 51a0f4a commit 8a1b8db
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ interface IInMeetingActions {
waitingForOthersToJoin?: boolean;
canSendReactions?: boolean;
canManageBreakout?: boolean;
canStartBreakout?: boolean;
canBroadcastMessageToBreakout?: boolean;
canAdmitLobbyToBreakout?: boolean;
isBreakoutPreassignmentsEnabled?: boolean;
Expand Down Expand Up @@ -180,6 +181,8 @@ export default class InMeetingActions implements IInMeetingActions {

canManageBreakout = null;

canStartBreakout = null;

canBroadcastMessageToBreakout = null;

canAdmitLobbyToBreakout = null;
Expand Down Expand Up @@ -324,6 +327,7 @@ export default class InMeetingActions implements IInMeetingActions {
waitingForOthersToJoin: this.waitingForOthersToJoin,
canSendReactions: this.canSendReactions,
canManageBreakout: this.canManageBreakout,
canStartBreakout: this.canStartBreakout,
canBroadcastMessageToBreakout: this.canBroadcastMessageToBreakout,
canAdmitLobbyToBreakout: this.canAdmitLobbyToBreakout,
isBreakoutPreassignmentsEnabled: this.isBreakoutPreassignmentsEnabled,
Expand Down
1 change: 1 addition & 0 deletions packages/@webex/plugin-meetings/src/meeting/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3890,6 +3890,7 @@ export default class Meeting extends StatelessWebexPlugin {
this.userDisplayHints
),
canManageBreakout: MeetingUtil.canManageBreakout(this.userDisplayHints),
canStartBreakout: MeetingUtil.canStartBreakout(this.userDisplayHints),
canBroadcastMessageToBreakout: MeetingUtil.canBroadcastMessageToBreakout(
this.userDisplayHints,
this.selfUserPolicies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ describe('plugin-meetings', () => {
waitingForOthersToJoin: null,
canSendReactions: null,
canManageBreakout: null,
canStartBreakout: null,
canBroadcastMessageToBreakout: null,
canAdmitLobbyToBreakout: null,
canUserAskForHelp: null,
Expand Down Expand Up @@ -141,6 +142,7 @@ describe('plugin-meetings', () => {
'waitingForOthersToJoin',
'canSendReactions',
'canManageBreakout',
'canStartBreakout',
'canBroadcastMessageToBreakout',
'canAdmitLobbyToBreakout',
'canUserAskForHelp',
Expand Down

0 comments on commit 8a1b8db

Please sign in to comment.