Skip to content

Commit

Permalink
RoomState.members emitted with wrong argument order for OOB members
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Sep 7, 2018
1 parent 49badd9 commit 9e02049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/models/room-state.js
Original file line number Diff line number Diff line change
Expand Up @@ -511,7 +511,7 @@ RoomState.prototype._setOutOfBandMember = function(stateEvent) {

this._setStateEvent(stateEvent);
this._updateMember(member);
this.emit("RoomState.members", {}, stateEvent, member);
this.emit("RoomState.members", stateEvent, this, member);
};

/**
Expand Down

0 comments on commit 9e02049

Please sign in to comment.