1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-30 19:56:10 +00:00

Prevent crash

This commit is contained in:
M66B 2019-06-26 20:42:52 +02:00
parent 18f90b24a1
commit 171eb97e55

View file

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