From 4d7f6b5f6ee7418e7a65870b3e637ff6967c56fd Mon Sep 17 00:00:00 2001 From: M66B Date: Thu, 9 Aug 2018 21:33:06 +0000 Subject: [PATCH] Small improvement --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java index 3852b9f6..9005a239 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -307,7 +307,7 @@ public class ServiceSynchronize extends LifecycleService { IMAPStore istore = null; try { Properties props = MessageHelper.getSessionProperties(); - props.put("mail.imaps.peek", "true"); + props.setProperty("mail.imaps.peek", "true"); props.setProperty("mail.mime.address.strict", "false"); props.setProperty("mail.mime.decodetext.strict", "false"); //props.put("mail.imaps.minidletime", "5000");