Auto setup inbox

pull/147/head
M66B 6 years ago
parent a7f41ef986
commit ac98726c4c

@ -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);

Loading…
Cancel
Save