Skip to content

Commit

Permalink
fix(whiteboard) remove limit dialog for jibri (#14947)
Browse files Browse the repository at this point in the history
  • Loading branch information
mihhu authored Jul 30, 2024
1 parent ca07eed commit 23be146
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions react/features/whiteboard/middleware.web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,12 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyA
const existingCollabDetails = getCollabDetails(state);
const enforceUserLimit = shouldEnforceUserLimit(state);
const notifyUserLimit = shouldNotifyUserLimit(state);
const iAmRecorder = Boolean(state['features/base/config'].iAmRecorder);

if (enforceUserLimit) {
dispatch(restrictWhiteboard(false));
dispatch(openDialog(WhiteboardLimitDialog));
iAmRecorder && setTimeout(() => dispatch(hideDialog(WhiteboardLimitDialog)), 3000);

return next(action);
}
Expand Down

0 comments on commit 23be146

Please sign in to comment.