From aa8e6186ebe68e2e5266de203466f7e52de3236f Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Fri, 6 Dec 2019 17:34:27 -0600 Subject: [PATCH] Don't mark a room as unread when server ACLs are set Signed-off-by: Aaron Raimist --- src/Unread.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Unread.js b/src/Unread.js index 01617dc1ac..d5c5993974 100644 --- a/src/Unread.js +++ b/src/Unread.js @@ -36,6 +36,8 @@ module.exports = { return false; } else if (ev.getType() == 'm.room.aliases' || ev.getType() == 'm.room.canonical_alias') { return false; + } else if (ev.getType() == 'm.room.server_acl') { + return false; } const EventTile = sdk.getComponent('rooms.EventTile'); return EventTile.haveTileForEvent(ev);