When deciding whether a message is older than a certain date, we should

be prefering the date we can ~trust "Internal" to the date asserted by
the sender.
This commit is contained in:
Jesse Vincent 2010-07-10 16:40:13 +00:00
parent ee63564138
commit 52ff331771

View file

@ -29,10 +29,10 @@ public abstract class Message implements Part, Body
{
return false;
}
Date myDate = getSentDate();
Date myDate = getInternalDate();
if (myDate == null)
{
myDate = getInternalDate();
myDate = getSentDate();
}
if (myDate != null)
{