mirror of
https://github.com/M66B/FairEmail.git
synced 2026-01-18 18:49:30 +01:00
Use List-Id for threading
This commit is contained in:
@@ -785,6 +785,11 @@ public class MessageHelper {
|
||||
|
||||
String[] getReferences() throws MessagingException {
|
||||
List<String> result = new ArrayList<>();
|
||||
|
||||
String listId = imessage.getHeader("List-Id", null);
|
||||
if (!TextUtils.isEmpty(listId))
|
||||
result.add(listId);
|
||||
|
||||
String refs = imessage.getHeader("References", null);
|
||||
if (refs != null)
|
||||
result.addAll(Arrays.asList(getReferences(refs)));
|
||||
|
||||
Reference in New Issue
Block a user