Skip to content

Commit

Permalink
Make RegistrationLockFailure fields optional
Browse files Browse the repository at this point in the history
  • Loading branch information
direc85 committed Mar 12, 2024
1 parent af6b316 commit c88ab0e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libsignal-service/src/push_service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,8 +290,8 @@ impl RegistrationSessionMetadataResponse {
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct RegistrationLockFailure {
pub length: u32,
pub time_remaining: u64,
pub length: Option<u32>,
pub time_remaining: Option<u64>,
#[serde(rename = "backup_credentials")]
pub svr1_credentials: Option<AuthCredentials>,
pub svr2_credentials: Option<AuthCredentials>,
Expand Down

0 comments on commit c88ab0e

Please sign in to comment.