or is not and

pull/1/head
David Baker 2015-06-29 16:50:26 +01:00
parent 46646cbd87
commit 898737d806
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ module.exports = {
var hl = 1; var hl = 1;
var actions = ev.getPushActions(MatrixClientPeg.get()); var actions = ev.getPushActions(MatrixClientPeg.get());
if (actions || actions.tweaks && actions.tweaks.highlight) { if (actions && actions.tweaks && actions.tweaks.highlight) {
hl = 2; hl = 2;
} }