nextcloud / nextcloud/mail

Drafts stay in "Drafts" folder when switching accounts

Open
#2,511 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug feature parity feature:drafts good first issue papercut
Dominant language
JavaScript
Stars
1k
Forks
348
Avg merge
12h 28m
Merged PRs (30d)
91

Description

  1. Compose a new message
  2. Notice you are not on the right account
  3. Use the account switcher
  4. Send the email
Actual behavior

The last draft state of the message will stay in the "Drafts" folder of the first account.

Expected behavior

When you switch the account, the draft is moved from the first account to the account you switched to. Thus when you send the mail, no draft version is left.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Start by tracing the account-switcher flow and how drafts are saved and sent across accounts. Done means switching accounts moves the draft to the selected account and sending it leaves no draft in the original account.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
full-stack
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.