mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
IMAP: revert refreshFolder calls that break Outlook
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@587 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
dcb04dd590
commit
2ec5044b38
@ -192,7 +192,6 @@ public class ImapConnection extends AbstractConnection {
|
||||
if (currentFolder == null) {
|
||||
sendClient(commandId + " NO no folder selected");
|
||||
} else {
|
||||
currentFolder = session.refreshFolder(currentFolder);
|
||||
String ranges = tokens.nextToken();
|
||||
if (ranges == null) {
|
||||
sendClient(commandId + " BAD missing range parameter");
|
||||
@ -261,7 +260,6 @@ public class ImapConnection extends AbstractConnection {
|
||||
sendClient(commandId + " OK SEARCH completed");
|
||||
|
||||
} else if ("store".equalsIgnoreCase(subcommand)) {
|
||||
currentFolder = session.refreshFolder(currentFolder);
|
||||
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
||||
String action = tokens.nextToken();
|
||||
String flags = tokens.nextToken();
|
||||
@ -273,7 +271,6 @@ public class ImapConnection extends AbstractConnection {
|
||||
sendClient(commandId + " OK STORE completed");
|
||||
} else if ("copy".equalsIgnoreCase(subcommand)) {
|
||||
try {
|
||||
currentFolder = session.refreshFolder(currentFolder);
|
||||
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
||||
String targetName = BASE64MailboxDecoder.decode(tokens.nextToken());
|
||||
while (UIDRangeIterator.hasNext()) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user