1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-09-01 21:21:58 +03:00

prefix internal var with underscrore

This commit is contained in:
David Baker
2015-06-29 16:34:33 +01:00
parent 2ab8f8cf76
commit c82b2049eb

View File

@@ -148,10 +148,10 @@ module.exports.MatrixEvent.prototype = {
}, },
getPushActions: function(client) { getPushActions: function(client) {
if (this.pushActions === undefined) { if (this._pushActions === undefined) {
var pushProcessor = new PushProcessor(client); var pushProcessor = new PushProcessor(client);
this.pushActions = pushProcessor.actionsForEvent(this.event); this._pushActions = pushProcessor.actionsForEvent(this.event);
} }
return this.pushActions; return this._pushActions;
} }
}; };