missed one {} -> [], fix e2e tests
This commit is contained in:
@@ -207,7 +207,7 @@ module.exports = React.createClass({
|
|||||||
if (!this.props.roomId) return [];
|
if (!this.props.roomId) return [];
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
const room = cli.getRoom(this.props.roomId);
|
const room = cli.getRoom(this.props.roomId);
|
||||||
if (!room) return {};
|
if (!room) return [];
|
||||||
|
|
||||||
const allMembers = Object.values(room.currentState.members);
|
const allMembers = Object.values(room.currentState.members);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user