Debug: option to disable threading by common reference

This commit is contained in:
M66B
2023-05-28 16:58:49 +02:00
parent e68116c301
commit 051d687a18
4 changed files with 26 additions and 3 deletions

View File

@@ -1872,7 +1872,8 @@ public class MessageHelper {
}
// Common reference
if (thread == null && refs.size() > 0) {
boolean thread_byref = prefs.getBoolean("thread_byref", true);
if (thread == null && refs.size() > 0 && thread_byref) {
String ref = refs.get(0);
if (!Objects.equals(ref, msgid))
thread = account + ":" + ref;