fix guest access; broken since Aug 18

pull/21833/head
Matthew Hodgson 2016-09-01 16:58:18 +01:00
parent 90cfb06ba3
commit 1586e5bd6f
1 changed files with 1 additions and 1 deletions

View File

@ -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.