mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-08 16:04:13 -04:00
base: Fix the encryption settings Into implementation.
This commit is contained in:
@@ -165,7 +165,7 @@ impl Into<EncryptionSettings> for EncryptionInfo {
|
||||
fn into(self) -> EncryptionSettings {
|
||||
EncryptionSettings {
|
||||
algorithm: self.algorithm,
|
||||
rotation_period: Duration::from_millis(self.rotation_period_messages),
|
||||
rotation_period: Duration::from_millis(self.rotation_period_ms),
|
||||
rotation_period_msgs: self.rotation_period_messages,
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user