Merge pull request #3705 from aaronraimist/acl-dont-bold

Don't mark a room as unread when server ACLs are set
pull/21833/head
Travis Ralston 2019-12-06 16:45:10 -07:00 committed by GitHub
commit 89fdfd7a23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ module.exports = {
return false;
} else if (ev.getType() == 'm.room.aliases' || ev.getType() == 'm.room.canonical_alias') {
return false;
} else if (ev.getType() == 'm.room.server_acl') {
return false;
}
const EventTile = sdk.getComponent('rooms.EventTile');
return EventTile.haveTileForEvent(ev);