Oops, missed a constant

pull/21833/head
David Baker 2016-08-18 15:18:02 +01:00
parent af48b8920e
commit bab2f23db3
1 changed files with 1 additions and 1 deletions

View File

@ -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);