Skip to content

Keep composer drafts until message queue acceptance - #238

Draft
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/durable-composer-drafts
Draft

Keep composer drafts until message queue acceptance#238
Xare123 wants to merge 1 commit into
OpenBubbles:rustpushfrom
Xare123:agent/durable-composer-drafts

Conversation

@Xare123

@Xare123 Xare123 commented Aug 16, 2026

Copy link
Copy Markdown

Problem

The composer could clear before the asynchronous send handler accepted a message, making a rejected or stalled send appear to lose the draft.

Change

Await the composer action handler before clearing text and reply state. Failure leaves the draft intact; successful queue acceptance clears it once.

Validation

Focused Flutter tests pass: 2/2 for handler completion and unavailable-handler failure.

Non-goals

This does not change URL parsing, transport retry policy, CloudKit, or attachment downloading.

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