mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 19:01:17 +02:00
dont keep the spinner in the memberlist when fetching /members fails
This commit is contained in:
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…
x
Reference in New Issue
Block a user