Merge pull request #19434 from ramonlsouza/default-animations
feat: join param for default animations setting value
This commit is contained in:
commit
e59d6dcea8
@ -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({
|
||||
|
@ -1433,6 +1433,7 @@ Useful tools for development:
|
||||
| `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 (Only for non-presenters), not peremanent. | `false` |
|
||||
| `userdata-bbb_direct_leave_button` | (Introduced in BigBlueButton 2.7) If set to `true` it will make a button to leave the meeting appear to the left of the Options menu. | `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