1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

More comments on the local echo

This commit is contained in:
Mark Haines
2016-09-16 15:36:56 +01:00
parent 1feb7fc0ba
commit 3bc56cf3f8

View File

@@ -797,6 +797,9 @@ Crypto.prototype.encryptEventIfNeeded = function(event, room) {
return null;
}
// We can claim and prove ownership of all our device keys in the local
// echo of the event since we know that all the local echos come from
// this device.
var myKeys = {
curve25519: this._olmDevice.deviceCurve25519Key,
ed25519: this._olmDevice.deviceEd25519Key,