Prevent crash

pull/157/head
M66B 5 years ago
parent 18f90b24a1
commit 171eb97e55

@ -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…
Cancel
Save