Skip to content

Commit b580fba

Browse files
committed
Rooms with notifs turned off should still go bold.
1 parent 8bb836a commit b580fba

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

‎src/controllers/organisms/RoomList.js‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,11 @@ module.exports = {
7373
if (actions && actions.tweaks && actions.tweaks.highlight) {
7474
hl = 2;
7575
}
76-
if (actions.notify) {
77-
// obviously this won't deep copy but this shouldn't be necessary
78-
var amap = this.state.activityMap;
79-
amap[room.roomId] = Math.max(amap[room.roomId] || 0, hl);
76+
// obviously this won't deep copy but this shouldn't be necessary
77+
var amap = this.state.activityMap;
78+
amap[room.roomId] = Math.max(amap[room.roomId] || 0, hl);
8079

81-
newState.activityMap = amap;
82-
}
80+
newState.activityMap = amap;
8381
}
8482
this.setState(newState);
8583
},

0 commit comments

Comments
 (0)