mirror of https://github.com/M66B/FairEmail.git
Prevent crash
This commit is contained in:
parent
18f90b24a1
commit
171eb97e55
|
@ -637,7 +637,8 @@ public class MessageHelper {
|
||||||
}
|
}
|
||||||
|
|
||||||
long getReceived() throws MessagingException {
|
long getReceived() throws MessagingException {
|
||||||
return imessage.getReceivedDate().getTime();
|
Date received = imessage.getReceivedDate();
|
||||||
|
return (received == null ? new Date() : received).getTime();
|
||||||
}
|
}
|
||||||
|
|
||||||
Long getSent() throws MessagingException {
|
Long getSent() throws MessagingException {
|
||||||
|
|
Loading…
Reference in New Issue