1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-26 01:36:55 +00:00

The message sent date is optional

This commit is contained in:
M66B 2018-08-04 08:54:58 +00:00
parent 935c10ca08
commit 7aa42e95d6

View file

@ -898,7 +898,7 @@ public class ServiceSynchronize extends LifecycleService {
message.subject = imessage.getSubject();
message.body = helper.getHtml();
message.received = imessage.getReceivedDate().getTime();
message.sent = imessage.getSentDate().getTime();
message.sent = (imessage.getSentDate() == null ? null : imessage.getSentDate().getTime());
message.seen = seen;
message.ui_seen = seen;
message.ui_hide = false;