struct hash_iterate_context *iter;
const char *key;
void *key2;
- struct importer_new_mail *mail;
+ struct importer_new_mail *mail, *const *mailp;
if (importer->virtual_all_box != NULL &&
hash_table_count(importer->import_guids) > 0) {
} T_END;
}
hash_table_iterate_deinit(&iter);
+ if (!importer->mails_have_guids) {
+ array_foreach(&importer->newmails, mailp) {
+ mail = *mailp;
+ if (mail->uid_in_local)
+ (void)dsync_mailbox_import_handle_mail(importer, mail);
+ }
+ }
}
int dsync_mailbox_import_changes_finish(struct dsync_mailbox_importer *importer)