Merge pull request #1619 from matrix-org/rav/fix_flairstore

Flairstore: Fix broken reference
This commit is contained in:
Luke Barnard 2017-11-17 14:51:00 +00:00 committed by GitHub
commit d222992bef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,7 +95,7 @@ class FlairStore extends EventEmitter {
// Return silently to avoid spamming for non-supporting servers // Return silently to avoid spamming for non-supporting servers
return; return;
} }
console.error('Could not get groups for user', this.props.userId, err); console.error('Could not get groups for user', userId, err);
throw err; throw err;
}).finally(() => { }).finally(() => {
delete this._usersInFlight[userId]; delete this._usersInFlight[userId];