mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 14:46:31 +02:00
Revert "Workaround large QUOTA responses"
This reverts commit 78335df3db.
This commit is contained in:
@@ -2953,10 +2953,7 @@ public class IMAPProtocol extends Protocol {
|
||||
long usage = r.readLong();
|
||||
long limit = r.readLong();
|
||||
Quota.Resource res = new Quota.Resource(name, usage, limit);
|
||||
if ("STORAGE".equals(name) && v.size() < 32)
|
||||
v.add(res);
|
||||
else
|
||||
eu.faircode.email.Log.w("Dropping QUOTA " + name + "/" + usage + "/" + limit + " count=" + v.size());
|
||||
v.add(res);
|
||||
}
|
||||
}
|
||||
q.resources = v.toArray(new Quota.Resource[v.size()]);
|
||||
|
||||
Reference in New Issue
Block a user