mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-05 08:33:37 +02:00
Restore hard bounce in drafts folder
This commit is contained in:
@@ -4133,6 +4133,9 @@ class Core {
|
||||
reply.setPersonal(from.getPersonal());
|
||||
}
|
||||
|
||||
if (helper.isReport() && EntityFolder.DRAFTS.equals(folder.type))
|
||||
message.dsn = EntityMessage.DSN_HARD_BOUNCE;
|
||||
|
||||
EntityIdentity identity = matchIdentity(context, folder, message);
|
||||
message.identity = (identity == null ? null : identity.id);
|
||||
|
||||
|
||||
@@ -3004,6 +3004,10 @@ public class MessageHelper {
|
||||
}
|
||||
|
||||
Integer isPlainOnly() {
|
||||
for (PartHolder h : extra)
|
||||
if (h.isReport())
|
||||
return null;
|
||||
|
||||
int html = 0;
|
||||
int plain = 0;
|
||||
for (PartHolder h : text) {
|
||||
|
||||
Reference in New Issue
Block a user