matcha
matcha copied to clipboard
BUG: Orphaned drafts after account removal
Describe the bug
When an account is removed via config.RemoveAccount, its associated drafts are still kept in the drafts.json cache.
To reproduce
- Create a draft for Account A.
- Remove Account A.
- Observe that the draft for Account A still exists in the drafts list (though it might fail to load properly).
Expected behavior
Drafts associated with a removed account should be cleaned up or handled gracefully.
Additional context
Similar to #519.
This has had no activity for 30 days. It will be closed in 14 days unless updated. Comment or remove the stale label to keep it open.
Closing due to inactivity. Reopen if still relevant.