mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-27 18:27:43 +00:00
Common reference
This commit is contained in:
parent
aa473c9204
commit
5e72fca15e
1 changed files with 14 additions and 0 deletions
|
@ -1340,6 +1340,13 @@ public class MessageHelper {
|
|||
}
|
||||
}
|
||||
|
||||
// Common reference
|
||||
if (thread == null && refs.size() > 0) {
|
||||
String ref = refs.get(0);
|
||||
if (!Objects.equals(ref, msgid))
|
||||
thread = ref;
|
||||
}
|
||||
|
||||
if (thread == null)
|
||||
thread = getHash() + ":" + uid;
|
||||
|
||||
|
@ -1422,6 +1429,13 @@ public class MessageHelper {
|
|||
}
|
||||
}
|
||||
|
||||
// Common reference
|
||||
if (thread == null && refs.size() > 0) {
|
||||
String ref = refs.get(0);
|
||||
if (!Objects.equals(ref, msgid))
|
||||
thread = ref;
|
||||
}
|
||||
|
||||
if (thread == null)
|
||||
thread = getHash() + ":" + uid;
|
||||
|
||||
|
|
Loading…
Reference in a new issue