Merge pull request #3505 from aaronraimist/alias-dont-bold

Don't mark a room as unread when someone adds an alias
This commit is contained in:
Travis Ralston 2019-10-01 17:08:29 -06:00 committed by GitHub
commit 4b6c9168da
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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