From 27c496aecb87ce28654e0d0a4a2936e449049885 Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Fri, 14 Sep 2018 13:55:47 +0200 Subject: [PATCH] remove unneeded async keywords --- src/components/views/rooms/MemberList.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index d1eacf5396..6a00c88d37 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -168,7 +168,7 @@ module.exports = React.createClass({ } }, - onRoom: async function(room) { + onRoom: function(room) { if (room.roomId !== this.props.roomId) { return; } @@ -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") {