mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
fix(whiteboard) remove limit dialog for jibri (#14947)
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user