Merge pull request #18396 from ramonlsouza/issue-18386

fix: bbb_hide_presentation_on_join parameter not working
This commit is contained in:
Ramón Souza 2023-07-28 13:49:03 -03:00 committed by GitHub
commit f389d7b338
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,7 @@ const AppContainer = (props) => {
meetingLayoutCameraPosition,
meetingLayoutFocusedCamera,
meetingLayoutVideoRate,
isSharedNotesPinned,
...otherProps
} = props;
@ -97,6 +98,7 @@ const AppContainer = (props) => {
layoutContextDispatch
&& (typeof meetingLayout !== 'undefined')
&& (layoutType.current !== meetingLayout)
&& isSharedNotesPinned
) {
layoutType.current = meetingLayout;
MediaService.setPresentationIsOpen(layoutContextDispatch, true);
@ -322,5 +324,6 @@ export default withTracker(() => {
hidePresentationOnJoin: getFromUserSettings('bbb_hide_presentation_on_join', LAYOUT_CONFIG.hidePresentationOnJoin),
hideActionsBar: getFromUserSettings('bbb_hide_actions_bar', false),
ignorePollNotifications: Session.get('ignorePollNotifications'),
isSharedNotesPinned: MediaService.shouldShowSharedNotes(),
};
})(AppContainer);