POP3: sent time is optional

pull/172/head
M66B 5 years ago
parent 3c324e3de9
commit 20297bcf85

@ -1477,6 +1477,10 @@ class Core {
Log.i(folder.name + " POP sync=" + msgid); Log.i(folder.name + " POP sync=" + msgid);
Long sent = helper.getSent();
if (sent == null)
sent = 0L;
String authentication = helper.getAuthentication(); String authentication = helper.getAuthentication();
MessageHelper.MessageParts parts = helper.getMessageParts(context); MessageHelper.MessageParts parts = helper.getMessageParts(context);
@ -1508,8 +1512,8 @@ class Core {
message.total = helper.getSize(); message.total = helper.getSize();
message.content = false; message.content = false;
message.encrypt = parts.getEncryption(); message.encrypt = parts.getEncryption();
message.received = helper.getSent(); message.received = sent;
message.sent = helper.getSent(); message.sent = sent;
message.seen = false; message.seen = false;
message.answered = false; message.answered = false;
message.flagged = false; message.flagged = false;

Loading…
Cancel
Save