mirror of https://github.com/M66B/FairEmail.git
Auto setup inbox
This commit is contained in:
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…
Reference in New Issue