1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-08-13 17:03:48 -04:00

Fixes Issue 850

Don't try to move, copy, or delete a K9mail-errors message on the
server-side.
This commit is contained in:
Daniel Applebaum 2009-12-02 04:09:51 +00:00
parent bb3d6f352b
commit 8a79690c42

View File

@ -1876,6 +1876,10 @@ public class MessagingController implements Runnable
}
private void queueMoveOrCopy(Account account, String srcFolder, String destFolder, boolean isCopy, String uids[])
{
if (account.getErrorFolderName().equals(srcFolder))
{
return;
}
PendingCommand command = new PendingCommand();
command.command = PENDING_COMMAND_MOVE_OR_COPY;
@ -1905,6 +1909,10 @@ public class MessagingController implements Runnable
try
{
String srcFolder = command.arguments[0];
if (account.getErrorFolderName().equals(srcFolder))
{
return;
}
String destFolder = command.arguments[1];
String isCopyS = command.arguments[2];
Store remoteStore = Store.getInstance(account.getStoreUri(), mApplication);