Don't mark a room as unread when someone adds an alias

https://github.com/vector-im/riot-web/issues/2321#issuecomment-508526884
Signed-off-by: Aaron Raimist <aaron@raim.ist>
pull/21833/head
Aaron Raimist 2019-10-01 15:08:34 -05:00
parent c5fd92bfeb
commit d0ce799798
No known key found for this signature in database
GPG Key ID: 37419210002890EF
1 changed files with 2 additions and 0 deletions

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