diff --git a/lib/models/event.js b/lib/models/event.js index 7a46adaa0..5ad312aa2 100644 --- a/lib/models/event.js +++ b/lib/models/event.js @@ -148,10 +148,10 @@ module.exports.MatrixEvent.prototype = { }, getPushActions: function(client) { - if (this.pushActions === undefined) { + if (this._pushActions === undefined) { var pushProcessor = new PushProcessor(client); - this.pushActions = pushProcessor.actionsForEvent(this.event); + this._pushActions = pushProcessor.actionsForEvent(this.event); } - return this.pushActions; + return this._pushActions; } };