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 (#8031)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Mar 11, 2022
1 parent 21d3cb0 commit 2d485b8
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 2d485b8

Please sign in to comment.