mirror of
https://github.com/M66B/FairEmail.git
synced 2024-12-25 17:27:00 +00:00
The message sent date is optional
This commit is contained in:
parent
935c10ca08
commit
7aa42e95d6
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue