You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-28 05:03:59 +03:00
Log which devices room keys were shared with.
This commit is contained in:
@@ -864,7 +864,8 @@ class MegolmEncryption extends EncryptionAlgorithm {
|
|||||||
`megolm keys for ${session.sessionId} ` +
|
`megolm keys for ${session.sessionId} ` +
|
||||||
`in ${this.roomId} (slice ${i + 1}/${userDeviceMaps.length})`;
|
`in ${this.roomId} (slice ${i + 1}/${userDeviceMaps.length})`;
|
||||||
try {
|
try {
|
||||||
logger.debug(`Sharing ${taskDetail}`);
|
logger.debug(`Sharing ${taskDetail}`,
|
||||||
|
userDeviceMaps[i].map((d) => `${d.userId}/${d.deviceInfo.deviceId}`));
|
||||||
await this.encryptAndSendKeysToDevices(
|
await this.encryptAndSendKeysToDevices(
|
||||||
session, key.chain_index, userDeviceMaps[i], payload,
|
session, key.chain_index, userDeviceMaps[i], payload,
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user