Keep flags when downloading complete message
Avoid that clicking "Download complete message" deletes all flags of the affected message from the local store.
This commit is contained in:
parent
dbdccbf4da
commit
ecdd52c8ee
1 changed files with 1 additions and 0 deletions
|
@ -2322,6 +2322,7 @@ public class MessagingController {
|
||||||
} else {
|
} else {
|
||||||
FetchProfile fp = new FetchProfile();
|
FetchProfile fp = new FetchProfile();
|
||||||
fp.add(FetchProfile.Item.BODY);
|
fp.add(FetchProfile.Item.BODY);
|
||||||
|
fp.add(FetchProfile.Item.FLAGS);
|
||||||
remoteFolder.fetch(Collections.singletonList(remoteMessage), fp, null);
|
remoteFolder.fetch(Collections.singletonList(remoteMessage), fp, null);
|
||||||
localFolder.appendMessages(Collections.singletonList(remoteMessage));
|
localFolder.appendMessages(Collections.singletonList(remoteMessage));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue