|
|
@ -3644,7 +3644,7 @@ public class IMAPFolder extends Folder implements UIDFolder, ResponseHandler {
|
|
|
|
long[] luid = UIDSet.toArray(uidset);
|
|
|
|
long[] luid = UIDSet.toArray(uidset);
|
|
|
|
Message[] msgs = createMessagesForUIDs(luid);
|
|
|
|
Message[] msgs = createMessagesForUIDs(luid);
|
|
|
|
for (Message m : msgs) {
|
|
|
|
for (Message m : msgs) {
|
|
|
|
if (m.getMessageNumber() > 0)
|
|
|
|
if (m != null && m.getMessageNumber() > 0)
|
|
|
|
messageCache.expungeMessage(m.getMessageNumber());
|
|
|
|
messageCache.expungeMessage(m.getMessageNumber());
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if (doExpungeNotification && hasMessageCountListener) {
|
|
|
|
if (doExpungeNotification && hasMessageCountListener) {
|
|
|
|