fix(whiteboard) remove limit dialog for jibri (#14947)

pull/14904/head stable/jitsi-meet_9646
Mihaela Dumitru 10 months ago committed by GitHub
parent ca07eed85f
commit 23be14697c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 2
      react/features/whiteboard/middleware.web.ts

@ -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);
}

Loading…
Cancel
Save