From 196ee3f6d44030e6124dcd2a283ab52ea87eb624 Mon Sep 17 00:00:00 2001 From: David Baker Date: Fri, 3 Jul 2015 11:36:44 +0100 Subject: [PATCH] Only highlight room list for messages where we notify - this may want to be an option in the react client potentially. --- src/controllers/organisms/RoomList.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/controllers/organisms/RoomList.js b/src/controllers/organisms/RoomList.js index cf07e96d5c..98379a9c97 100644 --- a/src/controllers/organisms/RoomList.js +++ b/src/controllers/organisms/RoomList.js @@ -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;