dont keep the spinner in the memberlist when fetching /members fails
This commit is contained in:
parent
aa8e998612
commit
5044d4f2d6
1 changed files with 3 additions and 1 deletions
|
@ -91,7 +91,9 @@ module.exports = React.createClass({
|
||||||
const cli = MatrixClientPeg.get();
|
const cli = MatrixClientPeg.get();
|
||||||
const room = cli.getRoom(this.props.roomId);
|
const room = cli.getRoom(this.props.roomId);
|
||||||
if (room) {
|
if (room) {
|
||||||
await room.loadMembersIfNeeded();
|
try {
|
||||||
|
await room.loadMembersIfNeeded();
|
||||||
|
} catch(ex) {/* already logged in RoomView */}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue