fix logging room id when LL members fail

This commit is contained in:
Bruno Windels 2018-09-10 18:09:11 +02:00
parent aa8e998612
commit 694ee5a2c8

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 ${this.roomId} failed.` +
const errorMessage = `Fetching room members for ${roomId} failed.` +
" Room members will appear incomplete.";
console.error(errorMessage);
console.error(err);