Add space in IMAP command

* Some servers seem to require it (sigh)

Change-Id: I8d9c4c4ccfce574844f3a49b5ac93b4dffa17009
This commit is contained in:
Marc Blank 2012-08-17 17:23:35 -07:00
parent 0d084651b0
commit 49f5c000a9

View File

@ -852,7 +852,7 @@ public class Imap2SyncService extends AbstractSyncService {
String tag = writeCommand(mConnection.writer, "uid copy " + serverId + " \"" +
encodeFolderName(mailbox.mServerId) + "\"");
if (readResponse(mConnection.reader, tag, "COPY").equals(IMAP_OK)) {
tag = writeCommand(mConnection.writer, "uid store " + serverId + " +FLAGS(\\Deleted)");
tag = writeCommand(mConnection.writer, "uid store " + serverId + " +FLAGS (\\Deleted)");
if (readResponse(mConnection.reader, tag, "STORE").equals(IMAP_OK)) {
tag = writeCommand(mConnection.writer, "expunge");
readResponse(mConnection.reader, tag, "expunge");