Make GroupStore use MatrixClientPeg
To avoid weirdness with using a cached matrix client
This commit is contained in:
parent
1a3ad5a342
commit
7ec4010881
11 changed files with 30 additions and 49 deletions
|
@ -114,7 +114,7 @@ function _onGroupInviteFinished(groupId, addrs) {
|
|||
|
||||
function _onGroupAddRoomFinished(groupId, addrs, addRoomsPublicly) {
|
||||
const matrixClient = MatrixClientPeg.get();
|
||||
const groupStore = GroupStoreCache.getGroupStore(matrixClient, groupId);
|
||||
const groupStore = GroupStoreCache.getGroupStore(groupId);
|
||||
const errorList = [];
|
||||
return Promise.all(addrs.map((addr) => {
|
||||
return groupStore
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue