1
0
mirror of https://github.com/moparisthebest/k-9 synced 2024-12-25 00:58:50 -05:00

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)
{