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; }