diff --git a/lib/models/event.js b/lib/models/event.js index e9feb6445..bddd015f3 100644 --- a/lib/models/event.js +++ b/lib/models/event.js @@ -146,7 +146,7 @@ module.exports.MatrixEvent.prototype = { return this.event.state_key !== undefined; }, - getPushActions(client) { + getPushActions: function(client) { if (this.pushActions === undefined) { var pushProcessor = new PushProcessor(client); this.pushActions = pushProcessor.actionsForEvent(this.event);