1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Revert "Command Error. 10"

This reverts commit 722cac9565.
This commit is contained in:
M66B 2022-01-19 21:44:15 +01:00
parent 54ddd065f9
commit 9fe91ed20c

View file

@ -3412,8 +3412,7 @@ class Core {
} else if (response.isBAD()) {
Log.e("UID FETCH " + response);
// BAD Error in IMAP command UID FETCH: Too long argument (n.nnn + n.nnn + n.nnn secs).
if (response.toString().contains("Too long argument") ||
response.toString().contains("Command Error. 10")) {
if (response.toString().contains("Too long argument")) {
chunk_size = chunk_size / 2;
if (chunk_size > 0)
prefs.edit().putInt("chunk_size", chunk_size).apply();