1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-11-25 05:23:13 +03:00
This commit is contained in:
David Baker
2018-11-15 10:03:16 +00:00
parent 17e0f1d9ab
commit c9917e4079

View File

@@ -439,7 +439,10 @@ MegolmEncryption.prototype.reshareKeyWithDevice = async function(
} }
const sentChainIndex = obSessionInfo.sharedWithDevices[userId][device.deviceId]; const sentChainIndex = obSessionInfo.sharedWithDevices[userId][device.deviceId];
if (sentChainIndex === undefined) { if (sentChainIndex === undefined) {
logger.debug("Session ID " + sessionId + " never shared with device " + userId + ":" + device.deviceId); logger.debug(
"Session ID " + sessionId + " never shared with device " +
userId + ":" + device.deviceId,
);
return; return;
} }