Update EncryptionEventContent docs

This commit is contained in:
Jonas Platte 2020-07-17 01:20:30 +02:00
parent 6644ae487f
commit 34e89f4d11
No known key found for this signature in database
GPG Key ID: 7D261D771D915378

View File

@ -20,13 +20,13 @@ pub struct EncryptionEventContent {
/// How long the session should be used before changing it.
///
/// 604800000 (a week) is the recommended default.
/// `uint!(604800000)` (a week) is the recommended default.
#[serde(skip_serializing_if = "Option::is_none")]
pub rotation_period_ms: Option<UInt>,
/// How many messages should be sent before changing the session.
///
/// 100 is the recommended default.
/// `uint!(100)` is the recommended default.
#[serde(skip_serializing_if = "Option::is_none")]
pub rotation_period_msgs: Option<UInt>,
}