call method on room now to LL members

pull/21833/head
Bruno Windels 2018-08-07 14:47:06 +02:00
parent 27ee85f4d9
commit 1009bc43ae
1 changed files with 1 additions and 1 deletions

View File

@ -317,7 +317,7 @@ module.exports = React.createClass({
// lazy load members if enabled
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
MatrixClientPeg.get().loadRoomMembersIfNeeded(room.roomId).catch((err) => {
room.loadMembersIfNeeded().catch((err) => {
const errorMessage = `Fetching room members for ${this.roomId} failed.` +
" Room members will appear incomplete.";
console.error(errorMessage);