mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-26 01:36:55 +00:00
Revert "Prefer Date header over INTERNALDATE"
This reverts commit d1c2a688df
.
This commit is contained in:
parent
124987438b
commit
6b8151bfcf
1 changed files with 0 additions and 10 deletions
|
@ -772,16 +772,6 @@ public class MessageHelper {
|
|||
}
|
||||
|
||||
long getReceived() throws MessagingException {
|
||||
String date = imessage.getHeader("Date", null);
|
||||
if (date != null) {
|
||||
try {
|
||||
Date received = new MailDateFormat().parse(date);
|
||||
Log.i("Parsed received=" + received);
|
||||
return received.getTime();
|
||||
} catch (java.text.ParseException ignored) {
|
||||
}
|
||||
}
|
||||
|
||||
Date received = imessage.getReceivedDate();
|
||||
if (received == null)
|
||||
received = imessage.getSentDate();
|
||||
|
|
Loading…
Reference in a new issue