Unhide archived message on move

This commit is contained in:
M66B 2018-11-25 17:20:02 +01:00
parent 09533c315e
commit 9b22b8ecf3
1 changed files with 3 additions and 0 deletions

View File

@ -1561,6 +1561,9 @@ public class ServiceSynchronize extends LifecycleService {
Folder itarget = istore.getFolder(target.name);
itarget.appendMessages(new Message[]{icopy});
}
if (EntityFolder.ARCHIVE.equals(folder.type))
db.message().setMessageUiHide(message.id, false);
}
private void doDelete(EntityFolder folder, IMAPFolder ifolder, EntityMessage message, JSONArray jargs, DB db) throws MessagingException, JSONException {