mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-01 06:38:29 +02:00
Prevent crash
This commit is contained in:
@@ -637,7 +637,8 @@ public class MessageHelper {
|
||||
}
|
||||
|
||||
long getReceived() throws MessagingException {
|
||||
return imessage.getReceivedDate().getTime();
|
||||
Date received = imessage.getReceivedDate();
|
||||
return (received == null ? new Date() : received).getTime();
|
||||
}
|
||||
|
||||
Long getSent() throws MessagingException {
|
||||
|
||||
Reference in New Issue
Block a user