1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-28 05:03:59 +03:00

Log more clearly when we're sharing room keys with *new* Olm sessions.

This commit is contained in:
Denis Kasak
2021-08-19 11:14:48 +02:00
parent 04ccec6de3
commit b009f9c21b

View File

@@ -846,9 +846,9 @@ class MegolmEncryption extends EncryptionAlgorithm {
this.getDevicesWithoutSessions(devicemap, devicesByUser, errorDevices); 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); 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( private async shareKeyWithOlmSessions(