Skip to content

Commit

Permalink
Don't mark a room as unread when someone adds an alias
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronraimist committed Oct 1, 2019
1 parent c5fd92b commit d0ce799
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Unread.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d0ce799

Please sign in to comment.