You've already forked matrix-js-sdk
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:
@@ -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;
|
||||
}
|
||||
};
|
||||
|
Reference in New Issue
Block a user