1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 09:47:13 +00:00

Fixed expunge workaround

This commit is contained in:
M66B 2022-07-21 22:23:34 +02:00
parent bc55e33f64
commit 65dff942a5

View file

@ -1771,7 +1771,7 @@ public class IMAPMessage extends MimeMessage implements ReadableMime {
envelope.cc == null &&
envelope.inReplyTo == null &&
envelope.messageId == null &&
headersLoaded && (loadedHeaders == null || loadedHeaders.size() == 0)) {
headersLoaded && (headers == null || !headers.getAllHeaders().hasMoreElements())) {
eu.faircode.email.Log.w("Expunged workaround host=" + ((IMAPStore) folder.getStore()).host);
return true;
}