From 9fe23227af6fdbbdda8a2d07463ee1bc908c3a2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Damir=20Jeli=C4=87?= Date: Fri, 21 Aug 2020 12:44:14 +0200 Subject: [PATCH] base: Fix the encryption settings Into implementation. --- matrix_sdk_base/src/models/room.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matrix_sdk_base/src/models/room.rs b/matrix_sdk_base/src/models/room.rs index 3015fd8f..4aa509f6 100644 --- a/matrix_sdk_base/src/models/room.rs +++ b/matrix_sdk_base/src/models/room.rs @@ -165,7 +165,7 @@ impl Into 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, } }