Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

fix(whiteboard) account for moderation rights (#12323)

Mihaela Dumitrue30b0306f995
diff --git a/react/features/toolbox/components/web/Toolbox.tsx b/react/features/toolbox/components/web/Toolbox.tsx
index b38b00466b..078ffc2728 100644
--- a/react/features/toolbox/components/web/Toolbox.tsx
+++ b/react/features/toolbox/components/web/Toolbox.tsx
@@ -103,7 +103,7 @@ import { VideoQualityButton, VideoQualityDialog } from '../../../video-quality/c
import { VideoBackgroundButton, toggleBackgroundEffect } from '../../../virtual-background';
import { VIRTUAL_BACKGROUND_TYPE } from '../../../virtual-background/constants';
import WhiteboardButton from '../../../whiteboard/components/web/WhiteboardButton';
-import { isWhiteboardEnabled } from '../../../whiteboard/functions';
+import { isWhiteboardButtonVisible } from '../../../whiteboard/functions';
import {
setFullScreen,
setHangupMenuVisible,
@@ -1558,7 +1558,7 @@ function _mapStateToProps(state: IState, ownProps: Partial<Props>) {
_toolbarButtons: toolbarButtons,
_virtualSource: state['features/virtual-background'].virtualSource,
_visible: isToolboxVisible(state),
- _whiteboardEnabled: isWhiteboardEnabled(state)
+ _whiteboardEnabled: isWhiteboardButtonVisible(state)
};
}