diff --git a/src/components/views/rooms/MemberList.js b/src/components/views/rooms/MemberList.js index 87758fa922..3672196506 100644 --- a/src/components/views/rooms/MemberList.js +++ b/src/components/views/rooms/MemberList.js @@ -207,7 +207,7 @@ module.exports = React.createClass({ if (!this.props.roomId) return []; const cli = MatrixClientPeg.get(); const room = cli.getRoom(this.props.roomId); - if (!room) return {}; + if (!room) return []; const allMembers = Object.values(room.currentState.members);