1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2025-12-19 10:22:30 +03:00

Fix bug in verifying megolm event senders

1a03e534bd introduced a bug which mixed up the keys_proved and the
keys_claimed. Switch them around again so that megolm messages are correctly
tied back to the sending device.
This commit is contained in:
Richard van der Hoff
2016-11-16 09:22:31 +00:00
parent 909b56d48e
commit 5b4aedd4be

View File

@@ -501,7 +501,7 @@ MegolmDecryption.prototype.decryptEvent = function(event) {
);
}
event.setClearData(payload, res.keysClaimed, res.keysProved);
event.setClearData(payload, res.keysProved, res.keysClaimed);
};