Revert "Command Error. 10"

This reverts commit 722cac9565.
pull/194/merge
M66B 4 years ago
parent 54ddd065f9
commit 9fe91ed20c

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

Loading…
Cancel
Save