We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d87acce commit 88a9773Copy full SHA for 88a9773
imapserver/imapmemserver/mailbox.go
@@ -454,7 +454,7 @@ func (mbox *MailboxView) staticNumSet(numSet imap.NumSet) imap.NumSet {
454
455
switch numSet := numSet.(type) {
456
case imap.SeqSet:
457
- max := uint32(len(mbox.l))
+ max := mbox.tracker.EncodeNumMessages()
458
for i := range numSet {
459
r := &numSet[i]
460
staticNumRange(&r.Start, &r.Stop, max)
0 commit comments