Skip to content

Conversation

@backportbot
Copy link

@backportbot backportbot bot commented Jan 29, 2026

Backport of PR #12322

Addresses a timing issue when updating drafts.

Since drafts are immutable, updating a draft deletes the old message and
creates a new one.

If the user is quick or the sync is slow, the draft being deleted can
still appear in the list after closing the composer.

Reopening that envelope/draft leads to a state where further edits fail.

This change removes the envelope from the store to avoid this problem.

Signed-off-by: Daniel Kesselberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant