Introduce Membership type
This commit is contained in:
parent
3c6fd58628
commit
da99bad7b9
115 changed files with 582 additions and 526 deletions
|
@ -96,7 +96,8 @@ export class RoomNotificationState extends NotificationState implements IDestroy
|
|||
const { level, symbol, count } = RoomNotifs.determineUnreadState(this.room, undefined, this.includeThreads);
|
||||
const muted =
|
||||
RoomNotifs.getRoomNotifsState(this.room.client, this.room.roomId) === RoomNotifs.RoomNotifState.Mute;
|
||||
const knocked = SettingsStore.getValue("feature_ask_to_join") && this.room.getMyMembership() === "knock";
|
||||
const knocked =
|
||||
SettingsStore.getValue("feature_ask_to_join") && this.room.getMyMembership() === Membership.Knock;
|
||||
this._level = level;
|
||||
this._symbol = symbol;
|
||||
this._count = count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue