From 898737d806f7b902b7cccf2df520ee4c239e650f Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 29 Jun 2015 16:50:26 +0100 Subject: [PATCH] or is not and --- src/controllers/organisms/RoomList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/controllers/organisms/RoomList.js b/src/controllers/organisms/RoomList.js index dd627abaf3..e4b1626014 100644 --- a/src/controllers/organisms/RoomList.js +++ b/src/controllers/organisms/RoomList.js @@ -66,7 +66,7 @@ module.exports = { var hl = 1; var actions = ev.getPushActions(MatrixClientPeg.get()); - if (actions || actions.tweaks && actions.tweaks.highlight) { + if (actions && actions.tweaks && actions.tweaks.highlight) { hl = 2; }