From 60bbea131ab99bdb72c99bb7de3e2d04992626a9 Mon Sep 17 00:00:00 2001 From: M66B Date: Mon, 13 Mar 2023 16:33:13 +0100 Subject: [PATCH] Search UTF-8 --- .../faircode/email/BoundaryCallbackMessages.java | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java index cf88785f12..4a2eb9a1dc 100644 --- a/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java +++ b/app/src/main/java/eu/faircode/email/BoundaryCallbackMessages.java @@ -718,7 +718,14 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback 0 && !responses[responses.length - 1].isOK()) { + // Normally "NO" + if (!BuildConfig.PLAY_STORE_RELEASE) + Log.e(responses[responses.length - 1].toString()); + responses = protocol.command("SEARCH", args); + } if (responses == null || responses.length == 0) throw new ProtocolException("No response from server"); for (Response response : responses) @@ -1045,6 +1052,11 @@ public class BoundaryCallbackMessages extends PagedList.BoundaryCallback word = new ArrayList<>();