Closed matadan closed 7 years ago
Interesting... thank for the report. Could you you just tell me which mail provider you are on ?
I'm testing with iCloud.
I think it might be because IndexSet.unreleasedMailimapSet() includes the upperBound in the Range but the range is 2750..<2751 so should not include the upperBound.
Could it be that it does not know the difference between 1...2 and 1..<2 ranges?
I think that fixed it. I'll submit a PR.
You're right the conversion between IndexSet
and mailimap_set
is wrong.
I have submitted a PR.
It appears that giving an IndexSet to fetchMessages() with a single index actually tries to fetch 2 messages. This also means that fetchLast() fails.
i.e.
actually tries to fetch messages 2750 and 2751.