hide lazy loading behind feature flag
This commit is contained in:
parent
866b4bb067
commit
af07d73432
3 changed files with 13 additions and 2 deletions
|
@ -107,7 +107,9 @@ class MatrixClientPeg {
|
|||
// the react sdk doesn't work without this, so don't allow
|
||||
opts.pendingEventOrdering = "detached";
|
||||
|
||||
opts.filter = await this.matrixClient.createFilter(FILTER_CONTENT);
|
||||
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
|
||||
opts.filter = await this.matrixClient.createFilter(FILTER_CONTENT);
|
||||
}
|
||||
|
||||
try {
|
||||
const promise = this.matrixClient.store.startup();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue