From c82b2049ebb41159444324dd46e17b18115a9c00 Mon Sep 17 00:00:00 2001 From: David Baker Date: Mon, 29 Jun 2015 16:34:33 +0100 Subject: [PATCH] prefix internal var with underscrore --- lib/models/event.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; } };