Share shared history keys in the background (#8031)

This commit is contained in:
Michael Telatynski 2022-03-11 09:11:41 +00:00 committed by GitHub
parent 21d3cb08a9
commit 2d485b8efe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,8 +130,9 @@ export default class MultiInviter {
invitedUsers.push(addr); invitedUsers.push(addr);
} }
} }
logger.log("Sharing history with", invitedUsers); 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; return states;
}); });