Merge pull request #15335 from prlanzarin/u25/fix/vbg-settings-yml
fix: don`t ignore settings.yml virtualBackgrounds.enabled config
This commit is contained in:
commit
1b9afd0173
@ -49,5 +49,5 @@ export function isLayoutsEnabled() {
|
||||
}
|
||||
|
||||
export function isVirtualBackgroundsEnabled() {
|
||||
return getDisabledFeatures().indexOf('virtualBackgrounds') === -1;
|
||||
return getDisabledFeatures().indexOf('virtualBackgrounds') === -1 && Meteor.settings.public.virtualBackgrounds.enabled;
|
||||
}
|
||||
|
@ -34,7 +34,6 @@ const MODELS = {
|
||||
};
|
||||
|
||||
const {
|
||||
enabled: VIRTUAL_BACKGROUND_ENABLED = true,
|
||||
thumbnailsPath: THUMBNAILS_PATH = '/resources/images/virtual-backgrounds/thumbnails/',
|
||||
fileNames: IMAGE_NAMES = ['home.jpg', 'coffeeshop.jpg', 'board.jpg'],
|
||||
storedOnBBB: IS_STORED_ON_BBB = true,
|
||||
|
Loading…
Reference in New Issue
Block a user