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
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