Added IMAP compression (default enabled)

This commit is contained in:
M66B
2018-08-28 14:52:03 +00:00
parent bef7645705
commit e3b4674378
44 changed files with 81 additions and 9 deletions

View File

@@ -402,7 +402,7 @@ public class ServiceSynchronize extends LifecycleService {
db.account().setAccountPassword(account.id, account.password);
}
Properties props = MessageHelper.getSessionProperties(account.auth_type);
Properties props = MessageHelper.getSessionProperties(this, account.auth_type);
final Session isession = Session.getInstance(props, null);
isession.setDebug(debug);
// adb -t 1 logcat | grep "fairemail\|System.out"
@@ -987,7 +987,7 @@ public class ServiceSynchronize extends LifecycleService {
}
// Create session
Properties props = MessageHelper.getSessionProperties(ident.auth_type);
Properties props = MessageHelper.getSessionProperties(this, ident.auth_type);
final Session isession = Session.getInstance(props, null);
// Create message