1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-27 02:07:12 +00:00

Common reference

This commit is contained in:
M66B 2022-01-08 16:47:13 +01:00
parent aa473c9204
commit 5e72fca15e

View file

@ -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;