1
0
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:
Matthew Hodgson
2019-11-26 01:58:04 +00:00
parent 191695da5a
commit 6e08835496
2 changed files with 4 additions and 4 deletions

View File

@@ -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;

View File

@@ -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