diff --git a/src/java/davmail/exchange/ExchangeSession.java b/src/java/davmail/exchange/ExchangeSession.java index d1dbdbe0..738bd80c 100644 --- a/src/java/davmail/exchange/ExchangeSession.java +++ b/src/java/davmail/exchange/ExchangeSession.java @@ -1157,7 +1157,7 @@ public class ExchangeSession { currentFolder.unreadCount = newFolder.unreadCount; currentFolder.contenttag = newFolder.contenttag; // keep previous messages for Thunderbird workaround - currentFolder.previousMessages = newFolder.messages; + currentFolder.previousMessages = currentFolder.messages; currentFolder.loadMessages(); return true; } else {