From b85d42e773ffe6d3374e3f600627611a181b8b3b Mon Sep 17 00:00:00 2001 From: j-dimension Date: Fri, 24 Jan 2025 13:18:44 +0100 Subject: [PATCH] fix subject mismatches due to \t --- .../src/com/jdimension/jlawyer/client/mail/MailContentUI.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/mail/MailContentUI.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/mail/MailContentUI.java index 2f71aa9a..b27e023f 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/mail/MailContentUI.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/mail/MailContentUI.java @@ -1352,7 +1352,7 @@ private static boolean messagesAreEqual(Message msg, Message copiedMsg) throws E if(copiedMsg.getSubject()!=null) subject2=copiedMsg.getSubject(); - boolean headersMatch = subject1.replace(" ", "").equals(subject2.replace(" ", "")) + boolean headersMatch = subject1.replace(" ", "").replace("\t", "").equals(subject2.replace(" ", "").replace("\t", "")) && msg.getSentDate().equals(copiedMsg.getSentDate()); if (!headersMatch) {