Import messages: check exists

pull/214/head
M66B 10 months ago
parent 0bbbcc8ec5
commit b379a93ff7

@ -1545,6 +1545,11 @@ public class FragmentFolders extends FragmentBase {
MessageHelper helper = new MessageHelper(imessage, context); MessageHelper helper = new MessageHelper(imessage, context);
String msgid = helper.getPOP3MessageID(); String msgid = helper.getPOP3MessageID();
int count = db.message().countMessageByMsgId(folder.id, msgid, true);
if (count == 1)
continue;
Long sent = helper.getSent(); Long sent = helper.getSent();
long received = helper.getPOP3Received(); long received = helper.getPOP3Received();

Loading…
Cancel
Save