mirror of https://github.com/vector-im/riot-web
dont keep the spinner in the memberlist when fetching /members fails
parent
aa8e998612
commit
5044d4f2d6
|
@ -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 */}
|
||||
}
|
||||
},
|
||||
|
||||
|
|
Loading…
Reference in New Issue