forked from matrix/element-web
Only highlight room list for messages where we notify - this may want to be an option in the react client potentially.
This commit is contained in:
parent
53b0ba56db
commit
196ee3f6d4
|
@ -69,6 +69,9 @@ module.exports = {
|
||||||
if (actions && actions.tweaks && actions.tweaks.highlight) {
|
if (actions && actions.tweaks && actions.tweaks.highlight) {
|
||||||
hl = 2;
|
hl = 2;
|
||||||
}
|
}
|
||||||
|
if (!actions.notify) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// obviously this won't deep copy but we this shouldn't be necessary
|
// obviously this won't deep copy but we this shouldn't be necessary
|
||||||
var amap = this.state.activityMap;
|
var amap = this.state.activityMap;
|
||||||
|
|
Loading…
Reference in New Issue