1
0
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:
Richard van der Hoff
2017-06-19 17:36:23 +01:00
parent ce187786cb
commit 5049919855
5 changed files with 80 additions and 52 deletions

View File

@@ -592,7 +592,7 @@ MegolmDecryption.prototype._decryptEvent = function(event, requestKeysOnFail) {
);
}
event.setClearData(payload, res.keysProved, res.keysClaimed);
event.setClearData(payload, res.senderKey, res.keysClaimed.ed25519);
};
MegolmDecryption.prototype._requestKeysForEvent = function(event) {