From 9cc250b2f5194167ab7adfa20bfb808dfde2befe Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Fri, 10 May 2019 16:10:12 +0100 Subject: [PATCH] Fix indentation in src/models/event.js --- src/models/event.js | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/models/event.js b/src/models/event.js index 3ef2cdb8752..76544b6da65 100644 --- a/src/models/event.js +++ b/src/models/event.js @@ -363,7 +363,7 @@ utils.extend(module.exports.MatrixEvent.prototype, { if ( this._clearEvent && this._clearEvent.content && - this._clearEvent.content.msgtype !== "m.bad.encrypted" + this._clearEvent.content.msgtype !== "m.bad.encrypted" ) { // we may want to just ignore this? let's start with rejecting it. throw new Error( @@ -708,28 +708,28 @@ utils.extend(module.exports.MatrixEvent.prototype, { * * @return {?Object} push actions */ - getPushActions: function() { + getPushActions: function() { return this._pushActions; - }, + }, /** * Set the push actions for this event. * * @param {Object} pushActions push actions */ - setPushActions: function(pushActions) { + setPushActions: function(pushActions) { this._pushActions = pushActions; - }, + }, - /** - * Replace the `event` property and recalculate any properties based on it. - * @param {Object} event the object to assign to the `event` property - */ - handleRemoteEcho: function(event) { + /** + * Replace the `event` property and recalculate any properties based on it. + * @param {Object} event the object to assign to the `event` property + */ + handleRemoteEcho: function(event) { this.event = event; // successfully sent. this.status = null; - }, + }, });