Can't write a message right after adding a (secondary) account
Open
Nobody has claimed this yet.
1. to develop
bug
- Dominant language
- JavaScript
- Stars
- 1k
- Forks
- 348
- Avg merge
- 12h 28m
- Merged PRs (30d)
- 91
Description
Writing a new message after adding a (secondary) account without a page reloaded causes an error because the account does not have any aliases initialized

Originally posted by @ChristophWurst in https://github.com/nextcloud/mail/issues/4715#issuecomment-804299711
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the flow by adding a secondary account and immediately composing a new message without reloading the page. Trace where the newly added account's aliases are initialized, then verify that composing and sending a message works without the error; the issue names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100