Space preferences for whether or not you see DMs in a Space (#7250)
This commit is contained in:
parent
5ee356daaa
commit
39c4b78371
22 changed files with 911 additions and 350 deletions
|
@ -872,6 +872,11 @@ export const SETTINGS: {[setting: string]: ISetting} = {
|
|||
[MetaSpace.Home]: true,
|
||||
}, false),
|
||||
},
|
||||
"Spaces.showPeopleInSpace": {
|
||||
supportedLevels: [SettingLevel.ROOM_ACCOUNT],
|
||||
default: true,
|
||||
controller: new IncompatibleController("showCommunitiesInsteadOfSpaces", null),
|
||||
},
|
||||
"showCommunitiesInsteadOfSpaces": {
|
||||
displayName: _td("Display Communities instead of Spaces"),
|
||||
description: _td("Temporarily show communities instead of Spaces for this session. " +
|
||||
|
|
|
@ -18,7 +18,7 @@ import { SettingLevel } from "./SettingLevel";
|
|||
|
||||
export type CallbackFn = (changedInRoomId: string, atLevel: SettingLevel, newValAtLevel: any) => void;
|
||||
|
||||
const IRRELEVANT_ROOM = Symbol("irrelevant-room");
|
||||
const IRRELEVANT_ROOM: string = null;
|
||||
|
||||
/**
|
||||
* Generalized management class for dealing with watchers on a per-handler (per-level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue