Rooms with notifs turned off should still go bold.

healthdemo
David Baker 2015-08-13 16:43:59 +01:00
parent 8bb836ad49
commit b580fba7db
1 changed files with 4 additions and 6 deletions

View File

@ -73,14 +73,12 @@ module.exports = {
if (actions && actions.tweaks && actions.tweaks.highlight) {
hl = 2;
}
if (actions.notify) {
// obviously this won't deep copy but this shouldn't be necessary
var amap = this.state.activityMap;
amap[room.roomId] = Math.max(amap[room.roomId] || 0, hl);
newState.activityMap = amap;
}
}
this.setState(newState);
},