mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-30 19:56:10 +00:00
Prevent crash
This commit is contained in:
parent
18f90b24a1
commit
171eb97e55
1 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue