The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/apps/meteor/server/settings/mobile.ts

22 lines
691 B

import { settingsRegistry } from '../../app/settings/server';
export const createMobileSettings = () =>
settingsRegistry.addGroup('Mobile', async function () {
await this.add('Allow_Save_Media_to_Gallery', true, {
type: 'boolean',
public: true,
});
await this.section('Screen_Lock', async function () {
await this.add('Force_Screen_Lock', false, {
type: 'boolean',
i18nDescription: 'Force_Screen_Lock_description',
public: true,
});
await this.add('Force_Screen_Lock_After', 1800, {
type: 'int',
i18nDescription: 'Force_Screen_Lock_After_description',
enableQuery: { _id: 'Force_Screen_Lock', value: true },
public: true,
});
});
});