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
Replace keysProved and keysClaimed
These terms were somewhat confusing (and, in the case of megolm, misleading), so replace them with explicit senderCurve25519Key and claimedEd25519Key fields.
This commit is contained in:
@@ -222,7 +222,8 @@ OlmDecryption.prototype.decryptEvent = function(event) {
|
||||
);
|
||||
}
|
||||
|
||||
event.setClearData(payload, {curve25519: deviceKey}, payload.keys || {});
|
||||
const claimedKeys = payload.keys || {};
|
||||
event.setClearData(payload, deviceKey, claimedKeys.ed25519 || null);
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user