missed one {} -> [], fix e2e tests

pull/21833/head
Bruno Windels 2018-09-10 17:32:40 +02:00
parent 0cd222ef0b
commit 92f7e29132
1 changed files with 1 additions and 1 deletions

View File

@ -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);