Workaround incorrect References headers

pull/214/head
M66B 8 months ago
parent a9844191f8
commit cd6f7f2624

@ -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);

Loading…
Cancel
Save