Added comment

This commit is contained in:
M66B 2023-05-28 17:01:23 +02:00
parent 051d687a18
commit 98e7473893
1 changed files with 4 additions and 0 deletions

View File

@ -1874,6 +1874,10 @@ public class MessageHelper {
// Common reference
boolean thread_byref = prefs.getBoolean("thread_byref", true);
if (thread == null && refs.size() > 0 && thread_byref) {
// For example
// Message-ID: <organization/project/pull/nnn/issue_event/xxx@github.com>
// In-Reply-To: <organization/project/pull/nnn@github.com>
// References: <organization/project/pull/nnn@github.com>
String ref = refs.get(0);
if (!Objects.equals(ref, msgid))
thread = account + ":" + ref;