Oops, missed a constant
This commit is contained in:
parent
af48b8920e
commit
bab2f23db3
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export function getRoomNotifsState(roomId) {
|
|||
}
|
||||
|
||||
export function setRoomNotifsState(roomId, newState) {
|
||||
if (newState == 'mute') {
|
||||
if (newState == MUTE) {
|
||||
return setRoomNotifsStateMuted(roomId);
|
||||
} else {
|
||||
return setRoomNotifsStateUnmuted(roomId, newState);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue