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/e2e.ts

24 lines
671 B

import { settingsRegistry } from '../../app/settings/server';
export const createE2ESettings = () =>
settingsRegistry.addGroup('E2E Encryption', async function () {
await this.add('E2E_Enable', false, {
type: 'boolean',
i18nLabel: 'Enabled',
i18nDescription: 'E2E_Enable_description',
public: true,
alert: 'E2E_Enable_alert',
});
await this.add('E2E_Enabled_Default_DirectRooms', false, {
type: 'boolean',
public: true,
enableQuery: { _id: 'E2E_Enable', value: true },
});
await this.add('E2E_Enabled_Default_PrivateRooms', false, {
type: 'boolean',
public: true,
enableQuery: { _id: 'E2E_Enable', value: true },
});
});