Merge pull request #18396 from ramonlsouza/issue-18386
fix: bbb_hide_presentation_on_join parameter not working
This commit is contained in:
commit
f389d7b338
@ -69,6 +69,7 @@ const AppContainer = (props) => {
|
|||||||
meetingLayoutCameraPosition,
|
meetingLayoutCameraPosition,
|
||||||
meetingLayoutFocusedCamera,
|
meetingLayoutFocusedCamera,
|
||||||
meetingLayoutVideoRate,
|
meetingLayoutVideoRate,
|
||||||
|
isSharedNotesPinned,
|
||||||
...otherProps
|
...otherProps
|
||||||
} = props;
|
} = props;
|
||||||
|
|
||||||
@ -97,6 +98,7 @@ const AppContainer = (props) => {
|
|||||||
layoutContextDispatch
|
layoutContextDispatch
|
||||||
&& (typeof meetingLayout !== 'undefined')
|
&& (typeof meetingLayout !== 'undefined')
|
||||||
&& (layoutType.current !== meetingLayout)
|
&& (layoutType.current !== meetingLayout)
|
||||||
|
&& isSharedNotesPinned
|
||||||
) {
|
) {
|
||||||
layoutType.current = meetingLayout;
|
layoutType.current = meetingLayout;
|
||||||
MediaService.setPresentationIsOpen(layoutContextDispatch, true);
|
MediaService.setPresentationIsOpen(layoutContextDispatch, true);
|
||||||
@ -322,5 +324,6 @@ export default withTracker(() => {
|
|||||||
hidePresentationOnJoin: getFromUserSettings('bbb_hide_presentation_on_join', LAYOUT_CONFIG.hidePresentationOnJoin),
|
hidePresentationOnJoin: getFromUserSettings('bbb_hide_presentation_on_join', LAYOUT_CONFIG.hidePresentationOnJoin),
|
||||||
hideActionsBar: getFromUserSettings('bbb_hide_actions_bar', false),
|
hideActionsBar: getFromUserSettings('bbb_hide_actions_bar', false),
|
||||||
ignorePollNotifications: Session.get('ignorePollNotifications'),
|
ignorePollNotifications: Session.get('ignorePollNotifications'),
|
||||||
|
isSharedNotesPinned: MediaService.shouldShowSharedNotes(),
|
||||||
};
|
};
|
||||||
})(AppContainer);
|
})(AppContainer);
|
||||||
|
Loading…
Reference in New Issue
Block a user