From 1bc26cb6c53f0d996fa798d426eee6e4f046d6da Mon Sep 17 00:00:00 2001 From: Matthew Hodgson Date: Thu, 1 Sep 2016 16:58:18 +0100 Subject: [PATCH] fix guest access; broken since Aug 18 --- src/RoomNotifs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.