mirror of https://github.com/M66B/FairEmail.git
Common reference
This commit is contained in:
parent
aa473c9204
commit
5e72fca15e
|
@ -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 New Issue