Merge branch 'develop' into t3chguy/fix/6606

This commit is contained in:
Michael Telatynski 2021-06-03 19:33:09 +01:00 committed by GitHub
commit 93010d34fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
24 changed files with 317 additions and 228 deletions

View file

@ -65,6 +65,10 @@ class FlairStore extends EventEmitter {
delete this._userGroups[userId];
}
cachedPublicisedGroups(userId) {
return this._userGroups[userId];
}
getPublicisedGroupsCached(matrixClient, userId) {
if (this._userGroups[userId]) {
return Promise.resolve(this._userGroups[userId]);