fix sender key lookup for room key coming from olm

This commit is contained in:
Bruno Windels 2021-03-01 20:03:55 +01:00
parent fb446167f6
commit a33200d926

View file

@ -84,7 +84,7 @@ class DeviceMessageRoomKey extends BaseRoomKey {
} }
get roomId() { return this._decryptionResult.event.content?.["room_id"]; } 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 sessionId() { return this._decryptionResult.event.content?.["session_id"]; }
get claimedEd25519Key() { return this._decryptionResult.claimedEd25519Key; } get claimedEd25519Key() { return this._decryptionResult.claimedEd25519Key; }