File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
crates/matrix-sdk-crypto/src/olm Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -1201,7 +1201,14 @@ impl Account {
1201
1201
content : & OlmV2Curve25519AesSha2Content ,
1202
1202
decryption_settings : & DecryptionSettings ,
1203
1203
) -> OlmResult < OlmDecryptionInfo > {
1204
- self . decrypt_olm_helper ( store, sender, content. sender_key , & content. ciphertext ) . await
1204
+ self . decrypt_olm_helper (
1205
+ store,
1206
+ sender,
1207
+ content. sender_key ,
1208
+ & content. ciphertext ,
1209
+ decryption_settings,
1210
+ )
1211
+ . await
1205
1212
}
1206
1213
1207
1214
#[ instrument( skip_all, fields( sender, sender_key = ?content. sender_key) ) ]
@@ -1243,7 +1250,7 @@ impl Account {
1243
1250
}
1244
1251
#[ cfg( feature = "experimental-algorithms" ) ]
1245
1252
ToDeviceEncryptedEventContent :: OlmV2Curve25519AesSha2 ( c) => {
1246
- self . decrypt_olm_v2 ( store, & event. sender , c) . await
1253
+ self . decrypt_olm_v2 ( store, & event. sender , c, decryption_settings ) . await
1247
1254
}
1248
1255
ToDeviceEncryptedEventContent :: Unknown ( _) => {
1249
1256
warn ! (
You can’t perform that action at this time.
0 commit comments