Better logging for sealed sender, sender key distribution

This commit is contained in:
Scott Nonnenberg 2021-07-23 15:37:04 -07:00 committed by GitHub
parent 18140c4a9d
commit eba182f8d0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 8 deletions

View file

@ -1912,6 +1912,9 @@ export default class MessageSender {
): Promise<CallbackResultType> {
const contentMessage = new Proto.Content();
const timestamp = Date.now();
window.log.info(
`sendSenderKeyDistributionMessage: Sending ${distributionId} with timestamp ${timestamp}`
);
const senderKeyDistributionMessage = await this.getSenderKeyDistributionMessage(
distributionId