mirror of
https://github.com/mjl-/mox.git
synced 2024-12-26 08:23:48 +03:00
879477a01f
before this change, when archiving, we would move all messages from the thread that are in the same mailbox as that of the response message to the archive mailbox. so if the message that was being responsed to was already in the archive mailbox, the message would be moved from archive mailbox to archive mailbox, resulting in an error. with this change, when archiving, we move the thread messages that are in the same mailbox as is currently open (independent of the mailbox the message lives in, a common situation in the threading view). if there is no open mailbox (search results), we still use the mailbox of the message being responded to as reference. with this new approach, we won't get errors moving a message to an archive mailbox when it's already there. well, you can still get that error, but then you've got the archive mailbox open, or you're in a search result and responding to an archived message. the error should at least help understand that nothing is happening. we are only moving the messages from one active/reference mailbox because we don't want to move messages from the thread that are in the Sent mailbox, and we also don't want to move duplicate messages (cross-posts to mailing lists) that are in other mailboxes. moving only the messages from the current active mailbox seems safe, and should do what is what users would expect most of the time. for issue #233 by mattfbacon, thanks for reporting! |
||
---|---|---|
.. | ||
api.go | ||
api.json | ||
api.ts | ||
api_test.go | ||
eventwriter.go | ||
lib.ts | ||
message.go | ||
message_test.go | ||
msg.html | ||
msg.js | ||
msg.ts | ||
text.html | ||
text.js | ||
text.ts | ||
view.go | ||
view_test.go | ||
webmail.go | ||
webmail.html | ||
webmail.js | ||
webmail.ts | ||
webmail_test.go |