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/client/lib/settings/PublicSettingsCachedCollect...

22 lines
594 B

import { CachedCollection } from '../../../app/ui-cached-collection/client';
export class PublicSettingsCachedCollection extends CachedCollection {
constructor() {
super({
name: 'public-settings',
eventType: 'onAll',
userRelated: false,
listenChangesForLoggedUsersOnly: true,
});
}
static instance: PublicSettingsCachedCollection;
static get(): PublicSettingsCachedCollection {
if (!PublicSettingsCachedCollection.instance) {
PublicSettingsCachedCollection.instance = new PublicSettingsCachedCollection();
}
return PublicSettingsCachedCollection.instance;
}
}