base: Make an unreadable numeric literal readable.

This commit is contained in:
Damir Jelić 2020-05-14 14:52:32 +02:00
parent e3c16a3aa0
commit 4972104f72

View file

@ -131,7 +131,7 @@ impl From<&EncryptionEvent> for EncryptionInfo {
rotation_period_ms: event
.content
.rotation_period_ms
.map_or(604800000, Into::into),
.map_or(604_800_000, Into::into),
rotation_period_messages: event.content.rotation_period_msgs.map_or(100, Into::into),
}
}