You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-29 16:43:09 +03:00
Log more clearly when we're sharing room keys with *new* Olm sessions.
This commit is contained in:
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user