Merge pull request #19509 from antobinary/ports-10
feat: join param for default animations setting value (port from 2.7)
This commit is contained in:
commit
98cd128c17
@ -36,6 +36,7 @@ const currentParameters = [
|
||||
'bbb_skip_check_audio_on_first_join',
|
||||
'bbb_fullaudio_bridge',
|
||||
'bbb_transparent_listen_only',
|
||||
'bbb_show_animations_default',
|
||||
// BRANDING
|
||||
'bbb_display_branding_area',
|
||||
// SHORTCUTS
|
||||
|
@ -177,6 +177,14 @@ class Base extends Component {
|
||||
|
||||
if (Session.equals('layoutReady', true) && (sidebarContentPanel === PANELS.NONE || Session.equals('subscriptionsReady', true))) {
|
||||
if (!checkedUserSettings) {
|
||||
const showAnimationsDefault = getFromUserSettings(
|
||||
'bbb_show_animations_default',
|
||||
Meteor.settings.public.app.defaultSettings.application.animations
|
||||
);
|
||||
|
||||
Settings.application.animations = showAnimationsDefault;
|
||||
Settings.save();
|
||||
|
||||
if (getFromUserSettings('bbb_show_participants_on_login', Meteor.settings.public.layout.showParticipantsOnLogin) && !deviceInfo.isPhone) {
|
||||
if (isChatEnabled() && getFromUserSettings('bbb_show_public_chat_on_login', !Meteor.settings.public.chat.startClosed)) {
|
||||
layoutContextDispatch({
|
||||
|
@ -1441,6 +1441,7 @@ Useful tools for development:
|
||||
| `userdata-bbb_skip_check_audio_on_first_join=` | (Introduced in BigBlueButton 2.3) If set to `true`, the user will not see the "echo test" when sharing audio for the first time in the session. If the user stops sharing, next time they try to share audio the echo test window will be displayed, allowing for configuration changes to be made prior to sharing audio again | `false` |
|
||||
| `userdata-bbb_override_default_locale=` | (Introduced in BigBlueButton 2.3) If set to `de`, the user's browser preference will be ignored - the client will be shown in 'de' (i.e. German) regardless of the otherwise preferred locale 'en' (or other) | `null` |
|
||||
| `userdata-bbb_hide_presentation_on_join` | (Introduced in BigBlueButton 2.6) If set to `true` it will make the user enter the meeting with presentation minimized, not permanent. | `false` |
|
||||
| `userdata-bbb_show_animations_default` | (Introduced in BigBlueButton 2.7.4) If set to `false` the default value for the Animations toggle in Settings will be 'off' | `true` |
|
||||
|
||||
#### Branding parameters
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user