panic when deleting email from other client #110
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#110
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I was with meli open and, as I have no idea how to delete emails for its UI (I just get "unimplemented"), I deleted one email from my cellphone mail client. This was the sole email being listed in open folder in meli, as soon as I deleted it in my cellphone, meli panicked with:
I've located the cause here
melib/src/backends/imap/untagged.rs:98
IMAP server sent
EXPUNGE 1
, and here:The vector is 0-indexed but message sequence numbers in IMAP start from 1. The fix is to subtract 1 from the index.