diff --git a/src/client.js b/src/client.js index e2cbf4a88..920055012 100644 --- a/src/client.js +++ b/src/client.js @@ -3925,9 +3925,13 @@ MatrixClient.prototype.doesServerSupportLazyLoading = async function() { prefix: '', }, ); + + const versions = response["versions"]; const unstableFeatures = response["unstable_features"]; + this._serverSupportsLazyLoading = - unstableFeatures && unstableFeatures["m.lazy_load_members"]; + (versions && versions.includes("r0.5.0")) + || (unstableFeatures && unstableFeatures["m.lazy_load_members"]); } return this._serverSupportsLazyLoading; };