or is not and

This commit is contained in:
David Baker 2015-06-29 16:50:26 +01:00
parent 46646cbd87
commit 898737d806

View File

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