mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 05:55:00 +08:00
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>
This commit is contained in:
parent
c5fd92bfeb
commit
d0ce799798
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user