This commit is contained in:
Luke Barnard 2017-10-04 18:05:40 +01:00
parent c1318e9102
commit cbb36b163b

View file

@ -22,7 +22,7 @@ class GroupStoreCache {
}
getGroupStore(matrixClient, groupId) {
if (!this.groupStore || this.groupStore._groupId !== groupId) {
if (!this.groupStore || this.groupStore.groupId !== groupId) {
// This effectively throws away the reference to any previous GroupStore,
// allowing it to be GCd once the components referencing it have stopped
// referencing it.