We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ca07eed commit 23be146Copy full SHA for 23be146
react/features/whiteboard/middleware.web.ts
@@ -69,10 +69,12 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyA
69
const existingCollabDetails = getCollabDetails(state);
70
const enforceUserLimit = shouldEnforceUserLimit(state);
71
const notifyUserLimit = shouldNotifyUserLimit(state);
72
+ const iAmRecorder = Boolean(state['features/base/config'].iAmRecorder);
73
74
if (enforceUserLimit) {
75
dispatch(restrictWhiteboard(false));
76
dispatch(openDialog(WhiteboardLimitDialog));
77
+ iAmRecorder && setTimeout(() => dispatch(hideDialog(WhiteboardLimitDialog)), 3000);
78
79
return next(action);
80
}
0 commit comments