From b009f9c21bad56e756937f6706facfefca5a54ff Mon Sep 17 00:00:00 2001 From: Denis Kasak Date: Thu, 19 Aug 2021 11:14:48 +0200 Subject: [PATCH] Log more clearly when we're sharing room keys with *new* Olm sessions. --- src/crypto/algorithms/megolm.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/crypto/algorithms/megolm.ts b/src/crypto/algorithms/megolm.ts index 66d4cc9d0..f5b267c0f 100644 --- a/src/crypto/algorithms/megolm.ts +++ b/src/crypto/algorithms/megolm.ts @@ -846,9 +846,9 @@ class MegolmEncryption extends EncryptionAlgorithm { this.getDevicesWithoutSessions(devicemap, devicesByUser, errorDevices); - logger.debug(`Sharing keys with Olm sessions in ${this.roomId}`); + logger.debug(`Sharing keys with newly created Olm sessions in ${this.roomId}`); await this.shareKeyWithOlmSessions(session, key, payload, devicemap); - logger.debug(`Shared keys with Olm sessions in ${this.roomId}`); + logger.debug(`Shared keys with newly created Olm sessions in ${this.roomId}`); } private async shareKeyWithOlmSessions(