Skip to content

Fix CloudKit reaction parent parsing and round-trip encoding - #239

Draft
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/cloudkit-reaction-roundtrip
Draft

Fix CloudKit reaction parent parsing and round-trip encoding#239
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/cloudkit-reaction-roundtrip

Conversation

@Xare123

@Xare123 Xare123 commented Aug 16, 2026

Copy link
Copy Markdown

Problem

Downloaded reactions could retain Apple parent wrappers instead of the message GUID, partless uploads could emit p:null/<guid>, newer reaction types could throw, and attachment GUID parsing could truncate identifiers containing underscores.

Change

Normalize bare, p:, and bp: parent references; encode partless parents without a null wrapper; bound reaction-type mapping; and preserve complete attachment GUIDs.

Validation

Focused Flutter tests pass: 5/5 for accepted/rejected parent forms, partless round trips, reaction bounds, and attachment GUIDs.

Non-goals and safety

This is a narrow live/legacy correctness fix. It does not enable Cloud Sync V2, alter checkpoints, delete remote or local records, or add storage schemas.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant