NSS Ltd writes:
Arnt, any idea why the modseq value becomes -1 ? Hints will same me
time tracking it.
Fixed, I expect.
Aox generally uses a 'nextmodseq', ie. the next value of modseq to be
assigned, while IMAP uses 'highestmodseq', which is either the highest
modseq of any existing message or the highest modseq of any message ever,
depending on context. (Aox uses 'next' because that context-dependent
variation overstrains certain people's brains.)
If a variable contains a nextmodseq and is used to call something that
takes a highestmodseq, subtracting 1 is necessary, and I incorrectly
thought it was necessary in one case, which ended up being 0-1 quite often.
Arnt