You've already forked element-web
mirror of
https://github.com/element-hq/element-web.git
synced 2025-11-29 21:23:11 +03:00
even better as the method called is on room
This commit is contained in:
@@ -318,7 +318,7 @@ module.exports = React.createClass({
|
|||||||
// lazy load members if enabled
|
// lazy load members if enabled
|
||||||
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
|
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
|
||||||
room.loadMembersIfNeeded().catch((err) => {
|
room.loadMembersIfNeeded().catch((err) => {
|
||||||
const errorMessage = `Fetching room members for ${roomId} failed.` +
|
const errorMessage = `Fetching room members for ${room.roomId} failed.` +
|
||||||
" Room members will appear incomplete.";
|
" Room members will appear incomplete.";
|
||||||
console.error(errorMessage);
|
console.error(errorMessage);
|
||||||
console.error(err);
|
console.error(err);
|
||||||
|
|||||||
Reference in New Issue
Block a user