even better as the method called is on room

pull/21833/head
Bruno Windels 2018-09-10 18:11:08 +02:00
parent 694ee5a2c8
commit deaad4bcb1
1 changed files with 1 additions and 1 deletions

View File

@ -318,7 +318,7 @@ module.exports = React.createClass({
// lazy load members if enabled
if (SettingsStore.isFeatureEnabled('feature_lazyloading')) {
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.";
console.error(errorMessage);
console.error(err);