POP3: sent time is optional

This commit is contained in:
M66B 2020-01-06 18:23:04 +01:00
parent 3c324e3de9
commit 20297bcf85
1 changed files with 6 additions and 2 deletions

View File

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