From a33200d92686b4edd055649f380ddf562135727f Mon Sep 17 00:00:00 2001 From: Bruno Windels Date: Mon, 1 Mar 2021 20:03:55 +0100 Subject: [PATCH] fix sender key lookup for room key coming from olm --- src/matrix/e2ee/megolm/decryption/RoomKey.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/matrix/e2ee/megolm/decryption/RoomKey.js b/src/matrix/e2ee/megolm/decryption/RoomKey.js index 1cfd5f95..d7d4699f 100644 --- a/src/matrix/e2ee/megolm/decryption/RoomKey.js +++ b/src/matrix/e2ee/megolm/decryption/RoomKey.js @@ -84,7 +84,7 @@ class DeviceMessageRoomKey extends BaseRoomKey { } get roomId() { return this._decryptionResult.event.content?.["room_id"]; } - get senderKey() { return this._decryptionResult.senderKey; } + get senderKey() { return this._decryptionResult.senderCurve25519Key; } get sessionId() { return this._decryptionResult.event.content?.["session_id"]; } get claimedEd25519Key() { return this._decryptionResult.claimedEd25519Key; }