Prevent seen without uid

This commit is contained in:
M66B
2019-01-12 09:18:37 +00:00
parent 898c30f4bf
commit 2f6b18cd61
2 changed files with 3 additions and 1 deletions

View File

@@ -157,8 +157,9 @@ public class EntityOperation {
cal_keep.set(Calendar.MILLISECOND, 0);
// Create copy without uid in target folder
// Message with same msgid can be in archive and source folder
// Message with same msgid can be in archive
if (message.uid != null &&
message.ui_seen &&
target.synchronize &&
message.received > cal_keep.getTimeInMillis() &&
db.message().countMessageByMsgId(target.id, message.msgid) == 0) {