Use new push actions method on client
This commit is contained in:
parent
898737d806
commit
acfe05db9d
2 changed files with 2 additions and 2 deletions
|
@ -65,7 +65,7 @@ module.exports = {
|
|||
|
||||
var hl = 1;
|
||||
|
||||
var actions = ev.getPushActions(MatrixClientPeg.get());
|
||||
var actions = MatrixClientPeg.get().getPushActionsForEvent(ev);
|
||||
if (actions && actions.tweaks && actions.tweaks.highlight) {
|
||||
hl = 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue