diff --git a/matrix_sdk_crypto/src/olm/group_sessions/outbound.rs b/matrix_sdk_crypto/src/olm/group_sessions/outbound.rs index 4f82c93d..b490776e 100644 --- a/matrix_sdk_crypto/src/olm/group_sessions/outbound.rs +++ b/matrix_sdk_crypto/src/olm/group_sessions/outbound.rs @@ -280,7 +280,7 @@ impl OutboundGroupSession { || self.creation_time.elapsed() // Since the encryption settings are provided by users and not // checked someone could set a really low rotation period so - // clamp it at a minute. + // clamp it to an hour. >= max(self.settings.rotation_period, Duration::from_secs(3600)) }