mirror of
https://github.com/vector-im/element-web.git
synced 2025-08-30 02:41:05 +02:00
Merge pull request #2162 from matrix-org/bwindels/dontspinaftermemberserror
dont keep the spinner in the memberlist when fetching /members fails
This commit is contained in:
commit
f0e33dff24
@ -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