Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
remove unneeded async keywords
Browse files Browse the repository at this point in the history
  • Loading branch information
bwindels committed Sep 14, 2018
1 parent fe734b9 commit 27c496a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/views/rooms/MemberList.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ module.exports = React.createClass({
}
},

onRoom: async function(room) {
onRoom: function(room) {
if (room.roomId !== this.props.roomId) {
return;
}
Expand All @@ -182,7 +182,7 @@ module.exports = React.createClass({
this._loadMembersIfNeeded();
},

onRoomMembership: async function(ev, member, oldMembership) {
onRoomMembership: function(ev, member, oldMembership) {
const cli = MatrixClientPeg.get();
const myId = cli.getUserId();
if (member.userId === myId && oldMembership !== "join" && member.membership === "join") {
Expand Down

0 comments on commit 27c496a

Please sign in to comment.