mirror of https://github.com/vector-im/riot-web
Merge pull request #6049 from aaronraimist/redacted-unread
Don't mark a room as unread when redacted event is presentpull/21833/head
commit
b6d9c4e6ad
|
@ -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 New Issue