mirror of
https://github.com/Novaloop-AG/healthchat-web.git
synced 2026-11-28 13:29:23 +00:00
Apply corrections identified by SonarQube (#8457)
This commit is contained in:
committed by
GitHub
parent
99cb83a9df
commit
964c60d086
@@ -49,8 +49,8 @@ export class RoomEchoChamber extends GenericEchoChamber<RoomEchoContext, CachedR
|
||||
|
||||
private onAccountData = (event: MatrixEvent) => {
|
||||
if (event.getType() === EventType.PushRules) {
|
||||
const currentVolume = this.properties.get(CachedRoomKey.NotificationVolume) as RoomNotifState;
|
||||
const newVolume = getRoomNotifsState(this.context.room.roomId) as RoomNotifState;
|
||||
const currentVolume = this.properties.get(CachedRoomKey.NotificationVolume);
|
||||
const newVolume = getRoomNotifsState(this.context.room.roomId);
|
||||
if (currentVolume !== newVolume) {
|
||||
this.updateNotificationVolume();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user