dont keep the spinner in the memberlist when fetching /members fails

pull/21833/head
Bruno Windels 2018-09-10 14:56:10 +02:00
parent aa8e998612
commit 5044d4f2d6
1 changed files with 3 additions and 1 deletions

View File

@ -91,7 +91,9 @@ module.exports = React.createClass({
const cli = MatrixClientPeg.get();
const room = cli.getRoom(this.props.roomId);
if (room) {
await room.loadMembersIfNeeded();
try {
await room.loadMembersIfNeeded();
} catch(ex) {/* already logged in RoomView */}
}
},