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/app/mapview/server/settings.ts

23 lines
593 B

import { Meteor } from 'meteor/meteor';
import { settingsRegistry } from '../../settings/server';
Meteor.startup(function () {
settingsRegistry.add('MapView_Enabled', false, {
type: 'boolean',
group: 'Message',
section: 'Google Maps',
public: true,
i18nLabel: 'MapView_Enabled',
i18nDescription: 'MapView_Enabled_Description',
});
settingsRegistry.add('MapView_GMapsAPIKey', '', {
type: 'string',
group: 'Message',
section: 'Google Maps',
public: true,
i18nLabel: 'MapView_GMapsAPIKey',
i18nDescription: 'MapView_GMapsAPIKey_Description',
secret: true,
});
});