Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
Share shared history keys in the background
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy committed Mar 11, 2022
1 parent 9082e07 commit 8df9918
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/utils/MultiInviter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,9 @@ export default class MultiInviter {
invitedUsers.push(addr);
}
}

logger.log("Sharing history with", invitedUsers);
await this.matrixClient.sendSharedHistoryKeys(this.roomId, invitedUsers);
this.matrixClient.sendSharedHistoryKeys(this.roomId, invitedUsers); // do this in the background

return states;
});
Expand Down

0 comments on commit 8df9918

Please sign in to comment.