Auto setup inbox

This commit is contained in:
M66B 2019-01-02 17:37:32 +01:00
parent a7f41ef986
commit ac98726c4c
1 changed files with 9 additions and 0 deletions

View File

@ -293,6 +293,15 @@ public class FragmentSetup extends FragmentEx {
List<EntityFolder> folders = new ArrayList<>();
EntityFolder inbox = new EntityFolder();
inbox.name = "INBOX";
inbox.type = EntityFolder.INBOX;
inbox.synchronize = true;
inbox.unified = true;
inbox.notify = true;
inbox.sync_days = EntityFolder.DEFAULT_SYNC;
inbox.keep_days = EntityFolder.DEFAULT_KEEP;
{
Properties props = MessageHelper.getSessionProperties(auth_type, false);
Session isession = Session.getInstance(props, null);