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, } }