Fallback to sent time if no received time

pull/158/head
M66B 6 years ago
parent d593c230ce
commit 041e293ac1

@ -639,6 +639,8 @@ public class MessageHelper {
long getReceived() throws MessagingException {
Date received = imessage.getReceivedDate();
if (received == null)
received = imessage.getSentDate();
return (received == null ? new Date() : received).getTime();
}

Loading…
Cancel
Save