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
1 changed files with 2 additions and 0 deletions
|
@ -40,6 +40,8 @@ export function eventTriggersUnreadCount(ev) {
|
||||||
return false;
|
return false;
|
||||||
} else if (ev.getType() == 'm.room.server_acl') {
|
} else if (ev.getType() == 'm.room.server_acl') {
|
||||||
return false;
|
return false;
|
||||||
|
} else if (ev.isRedacted()) {
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
return haveTileForEvent(ev);
|
return haveTileForEvent(ev);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue