mirror of
https://github.com/M66B/FairEmail.git
synced 2025-02-23 06:31:17 +00:00
Fallback to in-reply-to for thread ID when no references
This commit is contained in:
parent
a6b65f9330
commit
4bb7928319
1 changed files with 4 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue