Merge pull request #2163 from matrix-org/bwindels/logllfailroomidcorrectly

fix logging room id when LL members fail
This commit is contained in:
David Baker 2018-09-11 09:54:29 +01:00 committed by GitHub
commit 666c9a68e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 ${this.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);