Skip to content

Commit

Permalink
Merge pull request #2810 from jlawyerorg/fixes/3.1
Browse files Browse the repository at this point in the history
mail subject mismatch
  • Loading branch information
j-dimension authored Jan 24, 2025
2 parents 23243fa + 6c04d54 commit 9b6648c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 9b6648c

Please sign in to comment.