mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-16 05:04:57 +08:00
Don't mark a room as unread when redacted event is present
Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
b06514273f
commit
3a2c1af70c
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user