Skip to content

Commit

Permalink
f fix additional ms v us
Browse files Browse the repository at this point in the history
  • Loading branch information
jrconlin committed Oct 30, 2024
1 parent 9527eb2 commit 7829933
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,9 @@ impl WebPushClient {
messages: timestamp_resp.messages,
// If we didn't get a timestamp off the last query, use the
// original value if passed one
timestamp_ms: timestamp_resp.timestamp_ms.or(timestamp_us),
timestamp_ms: timestamp_resp
.timestamp_ms
.or(timestamp_us.map(|v| v / 1000)),
})
}

Expand Down

0 comments on commit 7829933

Please sign in to comment.