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) {
|
if (currentFolder == null) {
|
||||||
sendClient(commandId + " NO no folder selected");
|
sendClient(commandId + " NO no folder selected");
|
||||||
} else {
|
} else {
|
||||||
currentFolder = session.refreshFolder(currentFolder);
|
|
||||||
String ranges = tokens.nextToken();
|
String ranges = tokens.nextToken();
|
||||||
if (ranges == null) {
|
if (ranges == null) {
|
||||||
sendClient(commandId + " BAD missing range parameter");
|
sendClient(commandId + " BAD missing range parameter");
|
||||||
@ -261,7 +260,6 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
sendClient(commandId + " OK SEARCH completed");
|
sendClient(commandId + " OK SEARCH completed");
|
||||||
|
|
||||||
} else if ("store".equalsIgnoreCase(subcommand)) {
|
} else if ("store".equalsIgnoreCase(subcommand)) {
|
||||||
currentFolder = session.refreshFolder(currentFolder);
|
|
||||||
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
||||||
String action = tokens.nextToken();
|
String action = tokens.nextToken();
|
||||||
String flags = tokens.nextToken();
|
String flags = tokens.nextToken();
|
||||||
@ -273,7 +271,6 @@ public class ImapConnection extends AbstractConnection {
|
|||||||
sendClient(commandId + " OK STORE completed");
|
sendClient(commandId + " OK STORE completed");
|
||||||
} else if ("copy".equalsIgnoreCase(subcommand)) {
|
} else if ("copy".equalsIgnoreCase(subcommand)) {
|
||||||
try {
|
try {
|
||||||
currentFolder = session.refreshFolder(currentFolder);
|
|
||||||
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
UIDRangeIterator UIDRangeIterator = new UIDRangeIterator(tokens.nextToken());
|
||||||
String targetName = BASE64MailboxDecoder.decode(tokens.nextToken());
|
String targetName = BASE64MailboxDecoder.decode(tokens.nextToken());
|
||||||
while (UIDRangeIterator.hasNext()) {
|
while (UIDRangeIterator.hasNext()) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user