From 2108919b2406d2ed453d116115c0c9c42c55986c Mon Sep 17 00:00:00 2001 From: M66B Date: Sat, 2 Mar 2019 19:38:55 +0000 Subject: [PATCH] Fixed separate store connection --- app/src/main/java/eu/faircode/email/ServiceUI.java | 4 ++-- app/src/main/java/eu/faircode/email/ViewModelBrowse.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceUI.java b/app/src/main/java/eu/faircode/email/ServiceUI.java index ba301f44ec..c0ecf6f0f0 100644 --- a/app/src/main/java/eu/faircode/email/ServiceUI.java +++ b/app/src/main/java/eu/faircode/email/ServiceUI.java @@ -291,7 +291,7 @@ public class ServiceUI extends IntentService { // Get properties Properties props = MessageHelper.getSessionProperties(account.auth_type, account.realm, account.insecure); - props.put("mail." + protocol + ".separatestoreconnection", true); + props.put("mail." + protocol + ".separatestoreconnection", "true"); // Create session final Session isession = Session.getInstance(props, null); @@ -361,7 +361,7 @@ public class ServiceUI extends IntentService { // Get properties Properties props = MessageHelper.getSessionProperties(account.auth_type, account.realm, account.insecure); - props.put("mail." + protocol + ".separatestoreconnection", true); + props.put("mail." + protocol + ".separatestoreconnection", "true"); // Create session final Session isession = Session.getInstance(props, null); diff --git a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java index cc624f902c..c67077d83f 100644 --- a/app/src/main/java/eu/faircode/email/ViewModelBrowse.java +++ b/app/src/main/java/eu/faircode/email/ViewModelBrowse.java @@ -167,7 +167,7 @@ public class ViewModelBrowse extends ViewModel { // Get properties Properties props = MessageHelper.getSessionProperties(account.auth_type, account.realm, account.insecure); - props.put("mail." + protocol + ".separatestoreconnection", true); + props.put("mail." + protocol + ".separatestoreconnection", "true"); // Create session Session isession = Session.getInstance(props, null);