Override IDLE of o2.pl

This commit is contained in:
M66B 2022-11-25 10:08:06 +01:00
parent 43229aee37
commit af1e7f924a
1 changed files with 3 additions and 1 deletions

View File

@ -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");