You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-08 21:42:24 +03:00
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:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user