diff --git a/crates/ruma-common/src/events/room/encryption.rs b/crates/ruma-common/src/events/room/encryption.rs index e9635800..2566c9fb 100644 --- a/crates/ruma-common/src/events/room/encryption.rs +++ b/crates/ruma-common/src/events/room/encryption.rs @@ -45,6 +45,7 @@ impl RoomEncryptionEventContent { /// Note that changing the values of the fields is not a breaking change and you shouldn't rely /// on those specific values. pub fn with_recommended_defaults() -> Self { + // Defaults defined at Self { algorithm: EventEncryptionAlgorithm::MegolmV1AesSha2, rotation_period_ms: Some(uint!(604_800_000)),