Skip to content

Timing issue with large drafts #12320

@kesselb

Description

@kesselb

Steps to reproduce

  1. Open Inbox
  2. Draft a new message
  3. Embed an image
  4. Save as draft
  5. Change to Drafts folder
  6. Open the draft
  7. Make some changes
  8. Close the composer
  9. Open the draft again

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 A) further edits fails or B) an Nextcloud error page is used as message content (see screencast).

Expected behavior

Additional info

Screencast.From.2026-01-27.19-23-36.mp4

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions