mirror of
https://github.com/oblien/openship.git
synced 2026-11-18 06:55:56 +00:00
The trash icon and "Move to Bin" flow was calling mail.modifyLabels, which only adds/removes IMAP keywords. On real-mailbox servers like Dovecot, this leaves the message in INBOX with a visible TRASH tag instead of moving it to Trash. Use the existing trpc.mail.bulkDelete path (deleteThreads) which does messageMove(..., 'Trash') when the source is not Trash and permanently deletes when it is. Pass the source folder along in the two delete entry points so the IMAP driver looks in the right mailbox. Fixes oblien/openship#429 |
History
|
|
|---|---|---|
| .. | ||
| command-palette-context.tsx | ||
| label-sidebar-context.tsx | ||
| loading-context.tsx | ||
| sidebar-context.tsx | ||
| thread-context.tsx | ||