Browse Source

The message sent date is optional

main
M66B 6 years ago
parent
commit
7aa42e95d6
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/src/main/java/eu/faircode/email/ServiceSynchronize.java

+ 1
- 1
app/src/main/java/eu/faircode/email/ServiceSynchronize.java 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;


Loading…
Cancel
Save