base: Make an unreadable numeric literal readable.

master
Damir Jelić 2020-05-14 14:52:32 +02:00
parent e3c16a3aa0
commit 4972104f72
1 changed files with 1 additions and 1 deletions

View File

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