Skip to content

Commit 23be146

Browse files
authored
fix(whiteboard) remove limit dialog for jibri (#14947)
1 parent ca07eed commit 23be146

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

react/features/whiteboard/middleware.web.ts

+2
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,12 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyA
6969
const existingCollabDetails = getCollabDetails(state);
7070
const enforceUserLimit = shouldEnforceUserLimit(state);
7171
const notifyUserLimit = shouldNotifyUserLimit(state);
72+
const iAmRecorder = Boolean(state['features/base/config'].iAmRecorder);
7273

7374
if (enforceUserLimit) {
7475
dispatch(restrictWhiteboard(false));
7576
dispatch(openDialog(WhiteboardLimitDialog));
77+
iAmRecorder && setTimeout(() => dispatch(hideDialog(WhiteboardLimitDialog)), 3000);
7678

7779
return next(action);
7880
}

0 commit comments

Comments
 (0)