This commit is contained in:
Bruno Windels 2018-09-17 20:01:55 +02:00
parent 841aa4b800
commit e8b4770940
2 changed files with 2 additions and 2 deletions

View file

@ -598,7 +598,7 @@ module.exports = React.createClass({
if (!this.unmounted) {
this.setState({membersLoaded: true});
}
} catch(err) {
} catch (err) {
const errorMessage = `Fetching room members for ${room.roomId} failed.` +
" Room members will appear incomplete.";
console.error(errorMessage);

View file

@ -107,7 +107,7 @@ module.exports = React.createClass({
this.setState({loading: true});
try {
await room.loadMembersIfNeeded();
} catch(ex) {/* already logged in RoomView */}
} catch (ex) {/* already logged in RoomView */}
if (this._mounted) {
this.setState(this._getMembersState(this.roomMembers()));
this._listenForMembersChanges();