mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-04 16:16:33 +02:00
Fallback to sent time if no received time
This commit is contained in:
@@ -639,6 +639,8 @@ public class MessageHelper {
|
||||
|
||||
long getReceived() throws MessagingException {
|
||||
Date received = imessage.getReceivedDate();
|
||||
if (received == null)
|
||||
received = imessage.getSentDate();
|
||||
return (received == null ? new Date() : received).getTime();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user