mirror of
https://github.com/M66B/FairEmail.git
synced 2025-12-26 23:50:58 +01:00
Fallback to in-reply-to for thread ID when no references
This commit is contained in:
@@ -402,6 +402,10 @@ public class MessageHelper {
|
||||
if (!TextUtils.isEmpty(ref))
|
||||
return ref;
|
||||
|
||||
String inreplyto = getInReplyTo();
|
||||
if (inreplyto != null)
|
||||
return inreplyto;
|
||||
|
||||
String msgid = getMessageID();
|
||||
return (TextUtils.isEmpty(msgid) ? Long.toString(uid) : msgid);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user