diff --git a/src/RoomNotifs.js b/src/RoomNotifs.js index 00cad23791..d0cdd6ead7 100644 --- a/src/RoomNotifs.js +++ b/src/RoomNotifs.js @@ -24,7 +24,7 @@ export const MENTIONS_ONLY = 'mentions_only'; export const MUTE = 'mute'; export function getRoomNotifsState(roomId) { - if (MatrixClientPeg.get().isGuest()) return RoomNotifs.ALL_MESSAGES; + if (MatrixClientPeg.get().isGuest()) return ALL_MESSAGES; // look through the override rules for a rule affecting this room: // if one exists, it will take precedence.