mirror of https://github.com/vector-im/riot-web
or is not and
parent
46646cbd87
commit
898737d806
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue