mirror of
https://github.com/element-hq/element-web
synced 2024-11-27 19:56:47 +03:00
check LL with client as this takes server support into account
This commit is contained in:
parent
0ce7bb8995
commit
841aa4b800
1 changed files with 2 additions and 2 deletions
|
@ -590,8 +590,8 @@ module.exports = React.createClass({
|
|||
|
||||
_loadMembersIfJoined: async function(room) {
|
||||
// lazy load members if enabled
|
||||
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
|
||||
const cli = MatrixClientPeg.get();
|
||||
const cli = MatrixClientPeg.get();
|
||||
if (cli.hasLazyLoadMembersEnabled()) {
|
||||
if (room && room.getMyMembership() === 'join') {
|
||||
try {
|
||||
await room.loadMembersIfNeeded();
|
||||
|
|
Loading…
Reference in a new issue