mirror of
https://github.com/moparisthebest/k-9
synced 2024-11-12 12:35:04 -05:00
COPYUID changes were being updated only in memory, but were not being written to db.
This commit is contained in:
parent
bc9b7030d7
commit
3321ebdc33
@ -2125,7 +2125,7 @@ public class MessagingController implements Runnable {
|
||||
throws MessagingException {
|
||||
Folder remoteSrcFolder = null;
|
||||
Folder remoteDestFolder = null;
|
||||
Folder localDestFolder = null;
|
||||
LocalFolder localDestFolder = null;
|
||||
try {
|
||||
String srcFolder = command.arguments[0];
|
||||
if (account.getErrorFolderName().equals(srcFolder)) {
|
||||
@ -2144,7 +2144,7 @@ public class MessagingController implements Runnable {
|
||||
remoteSrcFolder = remoteStore.getFolder(srcFolder);
|
||||
|
||||
Store localStore = account.getLocalStore();
|
||||
localDestFolder = localStore.getFolder(destFolder);
|
||||
localDestFolder = (LocalFolder) localStore.getFolder(destFolder);
|
||||
List<Message> messages = new ArrayList<Message>();
|
||||
|
||||
/*
|
||||
@ -2230,6 +2230,7 @@ public class MessagingController implements Runnable {
|
||||
|
||||
Message localDestMessage = localDestFolder.getMessage(localDestUid);
|
||||
localDestMessage.setUid(remoteUidMap.get(remoteSrcUid));
|
||||
localDestFolder.changeUid((LocalMessage)localDestMessage);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
|
Loading…
Reference in New Issue
Block a user