You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-13 08:02:38 +03:00
Make GroupStore use MatrixClientPeg
To avoid weirdness with using a cached matrix client
This commit is contained in:
@@ -119,7 +119,7 @@ export default class MultiInviter {
|
||||
let doInvite;
|
||||
if (this.groupId !== null) {
|
||||
doInvite = GroupStoreCache
|
||||
.getGroupStore(MatrixClientPeg.get(), this.groupId)
|
||||
.getGroupStore(this.groupId)
|
||||
.inviteUserToGroup(addr);
|
||||
} else {
|
||||
doInvite = inviteToRoom(this.roomId, addr);
|
||||
|
||||
Reference in New Issue
Block a user