|
@@ -69,10 +69,12 @@ MiddlewareRegistry.register((store: IStore) => (next: Function) => (action: AnyA
|
69
|
69
|
const existingCollabDetails = getCollabDetails(state);
|
70
|
70
|
const enforceUserLimit = shouldEnforceUserLimit(state);
|
71
|
71
|
const notifyUserLimit = shouldNotifyUserLimit(state);
|
|
72
|
+ const iAmRecorder = Boolean(state['features/base/config'].iAmRecorder);
|
72
|
73
|
|
73
|
74
|
if (enforceUserLimit) {
|
74
|
75
|
dispatch(restrictWhiteboard(false));
|
75
|
76
|
dispatch(openDialog(WhiteboardLimitDialog));
|
|
77
|
+ iAmRecorder && setTimeout(() => dispatch(hideDialog(WhiteboardLimitDialog)), 3000);
|
76
|
78
|
|
77
|
79
|
return next(action);
|
78
|
80
|
}
|