Merge pull request #2162 from matrix-org/bwindels/dontspinaftermemberserror

dont keep the spinner in the memberlist when fetching /members fails
pull/21833/head
Bruno Windels 2018-09-10 17:31:31 +02:00 committed by GitHub
commit f0e33dff24
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 */}
}
},