mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 15:40:59 +01:00
Auto setup inbox
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user