missed one {} -> [], fix e2e tests
This commit is contained in:
parent
0cd222ef0b
commit
92f7e29132
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue