mirror of
https://github.com/M66B/FairEmail.git
synced 2025-03-12 07:07:18 +00:00
Backward compatibility
This commit is contained in:
parent
8c356b94f6
commit
36b49d1b4a
1 changed files with 4 additions and 0 deletions
|
@ -835,6 +835,10 @@ class Core {
|
|||
IMAPFolder ifolder, State state) throws JSONException, MessagingException, IOException {
|
||||
final DB db = DB.getInstance(context);
|
||||
try {
|
||||
// Legacy
|
||||
if (jargs.length() == 0)
|
||||
jargs = folder.getSyncArgs();
|
||||
|
||||
int sync_days = jargs.getInt(0);
|
||||
int keep_days = jargs.getInt(1);
|
||||
boolean download = jargs.getBoolean(2);
|
||||
|
|
Loading…
Add table
Reference in a new issue