From 3a2c1af70c48acf6eff5eff11ee417c52bc681d9 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Tue, 18 May 2021 00:01:08 -0500 Subject: [PATCH] Don't mark a room as unread when redacted event is present 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 12c15eb6af..25c425aa9a 100644 --- a/src/Unread.js +++ b/src/Unread.js @@ -40,6 +40,8 @@ export function eventTriggersUnreadCount(ev) { return false; } else if (ev.getType() == 'm.room.server_acl') { return false; + } else if (ev.isRedacted()) { + return false; } return haveTileForEvent(ev); }