Merge pull request #6049 from aaronraimist/redacted-unread

Don't mark a room as unread when redacted event is present
pull/21833/head
J. Ryan Stinnett 2021-05-18 11:00:42 +01:00 committed by GitHub
commit b6d9c4e6ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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);
}