move comment after rebase

pull/21833/head
Bruno Windels 2018-07-16 15:39:19 +02:00
parent af07d73432
commit 201332d96c
1 changed files with 2 additions and 2 deletions

View File

@ -309,12 +309,12 @@ module.exports = React.createClass({
} }
}); });
} else if (room) { } else if (room) {
//viewing a previously joined room, try to lazy load members
// Stop peeking because we have joined this room previously // Stop peeking because we have joined this room previously
MatrixClientPeg.get().stopPeeking(); MatrixClientPeg.get().stopPeeking();
this.setState({isPeeking: false}); this.setState({isPeeking: false});
//viewing a previously joined room, try to lazy load members
// lazy load members if enabled // lazy load members if enabled
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) { if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId); MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId);