Only highlight room list for messages where we notify - this may want to be an option in the react client potentially.

pull/1/head
David Baker 2015-07-03 11:36:44 +01:00
parent 53b0ba56db
commit 196ee3f6d4
1 changed files with 3 additions and 0 deletions

View File

@ -69,6 +69,9 @@ module.exports = {
if (actions && actions.tweaks && actions.tweaks.highlight) {
hl = 2;
}
if (!actions.notify) {
return;
}
// obviously this won't deep copy but we this shouldn't be necessary
var amap = this.state.activityMap;