mirror of
https://github.com/mjl-/mox.git
synced 2025-06-28 10:58:16 +03:00

Adding to the queue is done in a transaction, the queue db file is mox-global. Appending the message to the Sent folder, removing it from Drafts, marking the original message as answered/forwarded, is done in a separate database transaction that gets the ctx passed in. If the ctx was canceled in between, the queueing was finished, but the rest wasn't completed. Reported by mteege, thanks!