You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-07 10:46:24 +03:00
hide lazy loading behind feature flag
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user