You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-11-26 17:03:12 +03:00
log keyshare ID
This commit is contained in:
@@ -551,10 +551,10 @@ MegolmEncryption.prototype._shareKeyWithDevices = async function(session, device
|
|||||||
await this._encryptAndSendKeysToDevices(
|
await this._encryptAndSendKeysToDevices(
|
||||||
session, key.chain_index, userDeviceMaps[i], payload,
|
session, key.chain_index, userDeviceMaps[i], payload,
|
||||||
);
|
);
|
||||||
logger.log(`Completed megolm keyshare in ${this._roomId} `
|
logger.log(`Completed megolm keyshare for ${session.sessionId} `
|
||||||
+ `(slice ${i + 1}/${userDeviceMaps.length})`);
|
+ `in ${this._roomId} (slice ${i + 1}/${userDeviceMaps.length})`);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logger.log(`megolm keyshare in ${this._roomId} `
|
logger.log(`megolm keyshare for ${session.sessionId} in ${this._roomId} `
|
||||||
+ `(slice ${i + 1}/${userDeviceMaps.length}) failed`);
|
+ `(slice ${i + 1}/${userDeviceMaps.length}) failed`);
|
||||||
|
|
||||||
throw e;
|
throw e;
|
||||||
|
|||||||
@@ -389,7 +389,7 @@ export default class IndexedDBCryptoStore {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Inbound group saessions
|
// Inbound group sessions
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Retrieve the end-to-end inbound group session for a given
|
* Retrieve the end-to-end inbound group session for a given
|
||||||
|
|||||||
Reference in New Issue
Block a user