From af1e7f924abd575fca57c8a58d9df0e789196079 Mon Sep 17 00:00:00 2001 From: M66B Date: Fri, 25 Nov 2022 10:08:06 +0100 Subject: [PATCH] Override IDLE of o2.pl --- app/src/main/java/eu/faircode/email/ServiceSynchronize.java | 4 +++- 1 file changed, 3 insertions(+), 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 3be248388a..d78303dcff 100644 --- a/app/src/main/java/eu/faircode/email/ServiceSynchronize.java +++ b/app/src/main/java/eu/faircode/email/ServiceSynchronize.java @@ -1679,7 +1679,9 @@ public class ServiceSynchronize extends ServiceBase implements SharedPreferences } // https://tools.ietf.org/html/rfc2177 - final boolean capIdle = iservice.hasCapability("IDLE"); + final boolean capIdle = + iservice.hasCapability("IDLE") && + !"poczta.o2.pl".equals(account.host); final boolean capUtf8 = iservice.hasCapability("UTF8=ACCEPT") || iservice.hasCapability("UTF8=ONLY");