Gmail POP3: leave on device

https://support.google.com/mail/answer/7104828
This commit is contained in:
M66B
2022-07-05 09:01:28 +02:00
parent a0343006b7
commit 8d1aaa0899

View File

@@ -521,8 +521,10 @@ public class FragmentGmail extends FragmentBase {
account.synchronize = true;
account.primary = (primary == null);
if (pop)
if (pop) {
account.leave_on_device = true;
account.max_messages = EntityAccount.DEFAULT_MAX_MESSAGES;
}
account.created = new Date().getTime();
account.last_connected = account.created;