Fallback to sent time if no received time

This commit is contained in:
M66B 2019-07-15 12:41:31 +02:00
parent d593c230ce
commit 041e293ac1
1 changed files with 2 additions and 0 deletions

View File

@ -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();
}