1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-08-19 16:42:09 +03:00

javascript function syntax #3...

This commit is contained in:
David Baker
2015-06-29 15:57:20 +01:00
parent 1be02a3c3c
commit 083a0980eb

View File

@@ -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);