Merge pull request #6079 from matrix-org/gsouquet/switch-rooms
This commit is contained in:
commit
7f83590846
16 changed files with 184 additions and 171 deletions
|
@ -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]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue