crypto: The algorithm specific contents don't take an algorithm anymore.
parent
60cc939fdd
commit
704d8bc0ed
|
@ -1120,7 +1120,6 @@ impl OlmMachine {
|
||||||
|
|
||||||
Ok(EncryptedEventContent::MegolmV1AesSha2(
|
Ok(EncryptedEventContent::MegolmV1AesSha2(
|
||||||
MegolmV1AesSha2Content {
|
MegolmV1AesSha2Content {
|
||||||
algorithm: Algorithm::MegolmV1AesSha2,
|
|
||||||
ciphertext,
|
ciphertext,
|
||||||
sender_key: self.account.identity_keys().curve25519().to_owned(),
|
sender_key: self.account.identity_keys().curve25519().to_owned(),
|
||||||
session_id: session.session_id().to_owned(),
|
session_id: session.session_id().to_owned(),
|
||||||
|
@ -1179,7 +1178,6 @@ impl OlmMachine {
|
||||||
|
|
||||||
Ok(EncryptedEventContent::OlmV1Curve25519AesSha2(
|
Ok(EncryptedEventContent::OlmV1Curve25519AesSha2(
|
||||||
OlmV1Curve25519AesSha2Content {
|
OlmV1Curve25519AesSha2Content {
|
||||||
algorithm: Algorithm::OlmV1Curve25519AesSha2,
|
|
||||||
sender_key: identity_keys.curve25519().to_owned(),
|
sender_key: identity_keys.curve25519().to_owned(),
|
||||||
ciphertext: content,
|
ciphertext: content,
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue