hide lazy loading behind feature flag
This commit is contained in:
parent
866b4bb067
commit
af07d73432
3 changed files with 13 additions and 2 deletions
|
@ -314,7 +314,11 @@ module.exports = React.createClass({
|
|||
this.setState({isPeeking: false});
|
||||
|
||||
//viewing a previously joined room, try to lazy load members
|
||||
MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId);
|
||||
|
||||
// lazy load members if enabled
|
||||
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
|
||||
MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId);
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue