Skip to content

Navigation Menu

Sign in
Sign up

Make passcode_generation field optional when deserializing escrow metadata - #23

Open
malmeloo wants to merge 1 commit into
OpenBubbles:master from
malmeloo:fix/missing-field-in-escrow-metadata
Open

Make passcode_generation field optional when deserializing escrow metadata #23
malmeloo wants to merge 1 commit into
OpenBubbles:master from
malmeloo:fix/missing-field-in-escrow-metadata

Conversation

@malmeloo

@malmeloo malmeloo commented May 5, 2026
edited
Loading

Copy link
Copy Markdown

Two of my devices (one original iPhone and a hackintosh) were not showing up as escrow bottles because their metadata did not have the passcode_generation field attached, which caused deserialization to fail, which then caused rustpush to skip it entirely. This marks the field as optional to make them show up properly.

The type of the field remains the same, serde will just set it to a default value if it's missing.

Copy link
Copy Markdown

I just wanted to drop a comment on this PR. I patched it into lrhodin/corten-matrix and it's helped a ton of people see bottles that they otherwise would not have been able to open.

Hopefully this can be merged into the main branch of Rustpush at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /