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) {
|
_loadMembersIfJoined: async function(room) {
|
||||||
// lazy load members if enabled
|
// 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') {
|
if (room && room.getMyMembership() === 'join') {
|
||||||
try {
|
try {
|
||||||
await room.loadMembersIfNeeded();
|
await room.loadMembersIfNeeded();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue