diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index bf96b51604..4c84b00e70 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -296,7 +296,6 @@ module.exports = React.createClass({ // member invite (content.third_party_invite.signed.token) var room = MatrixClientPeg.get().getRoom(this.props.roomId); var EntityTile = sdk.getComponent("rooms.EntityTile"); - var BaseAvatar = sdk.getComponent("avatars.BaseAvatar"); if (room) { room.currentState.getStateEvents("m.room.third_party_invite").forEach( function(e) { @@ -306,12 +305,9 @@ module.exports = React.createClass({ if (memberEvent) { return; } - var avatarJsx = ( - - ); memberList.push( + name={e.getContent().display_name} /> ) }) } diff --git a/src/components/views/rooms/MemberTile.js b/src/components/views/rooms/MemberTile.js index 9136e848f1..d5c124ad21 100644 --- a/src/components/views/rooms/MemberTile.js +++ b/src/components/views/rooms/MemberTile.js @@ -79,14 +79,6 @@ module.exports = React.createClass({ var av = ( ); - var power; - var powerLevel = this.props.member.powerLevel; - if (powerLevel >= 50 && powerLevel < 99) { - power = Mod; - } - if (powerLevel >= 99) { - power = Admin; - } if (member.user) { this.user_last_modified_time = member.user.getLastModifiedTime();