Skip to content

Commit

Permalink
Fix indentation in src/models/event.js
Browse files Browse the repository at this point in the history
  • Loading branch information
jryans committed May 10, 2019
1 parent 412edcd commit 9cc250b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions src/models/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down Expand Up @@ -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;
},
},
});


Expand Down

0 comments on commit 9cc250b

Please sign in to comment.