Skip to content

Commit

Permalink
JAMES-2036 Store should not get RECENT and COUNTs when checking UID v…
Browse files Browse the repository at this point in the history
…alidity

The FetchGroup level for this Metadata was too high
  • Loading branch information
chibenwa committed May 30, 2017
1 parent 12ac91f commit 986059d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ private void appendToMailbox(InputStream message, Date datetime, Flags flagsToBe
}

// get folder UIDVALIDITY
Long uidValidity = mailboxManager.getMailbox(mailboxPath, mailboxSession).getMetaData(false, mailboxSession, FetchGroup.NO_UNSEEN).getUidValidity();
Long uidValidity = mailboxManager.getMailbox(mailboxPath, mailboxSession).getMetaData(false, mailboxSession, FetchGroup.NO_COUNT).getUidValidity();

unsolicitedResponses(session, responder, false);

Expand Down

0 comments on commit 986059d

Please sign in to comment.