mirror of
https://github.com/M66B/FairEmail.git
synced 2026-03-26 02:45:31 +01:00
Workaround incorrect References headers
This commit is contained in:
@@ -1591,6 +1591,9 @@ public class MessageHelper {
|
||||
header = MimeUtility.unfold(header);
|
||||
if (TextUtils.isEmpty(header))
|
||||
return result;
|
||||
header = header
|
||||
.replaceAll("<\\s*<", "<")
|
||||
.replaceAll(">\\s*>", ">");
|
||||
for (String ref : header.split("[,\\s]+"))
|
||||
if (!result.contains(ref))
|
||||
result.add(ref);
|
||||
|
||||
Reference in New Issue
Block a user