mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-20 21:27:07 +00:00
Improved/fixed DSN handling
This commit is contained in:
parent
6287480c98
commit
af1a42d266
1 changed files with 5 additions and 3 deletions
|
@ -4576,7 +4576,7 @@ class Core {
|
|||
if (replied != null)
|
||||
all.addAll(replied);
|
||||
}
|
||||
if (r.refid != null) {
|
||||
if (r.refid != null && !r.refid.equals(message.inreplyto)) {
|
||||
List<EntityMessage> refs = db.message().getMessagesByMsgId(folder.account, r.refid);
|
||||
if (refs != null)
|
||||
all.addAll(refs);
|
||||
|
@ -4589,8 +4589,10 @@ class Core {
|
|||
map.put(f.id, f);
|
||||
}
|
||||
|
||||
for (EntityFolder f : map.values())
|
||||
EntityOperation.queue(context, f, EntityOperation.REPORT, message.inreplyto, label);
|
||||
for (String msgid : new String[]{message.inreplyto, r.refid})
|
||||
if (msgid != null)
|
||||
for (EntityFolder f : map.values())
|
||||
EntityOperation.queue(context, f, EntityOperation.REPORT, msgid, label);
|
||||
}
|
||||
}
|
||||
} catch (Throwable ex) {
|
||||
|
|
Loading…
Reference in a new issue