Skip to content

Commit

Permalink
dbox: cache pop3 order and uidl when saving mails
Browse files Browse the repository at this point in the history
  • Loading branch information
Josef 'Jeff' Sipek authored and villesavolainen committed Nov 14, 2018
1 parent 8c14347 commit 71fa7e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib-storage/index/dbox-common/dbox-save.c
Expand Up @@ -121,6 +121,10 @@ void dbox_save_end(struct dbox_save_context *ctx)
index_mail_cache_parse_deinit(ctx->ctx.dest_mail,
ctx->ctx.data.received_date,
!ctx->failed);
if (!ctx->failed)
index_mail_cache_pop3_data(ctx->ctx.dest_mail,
mdata->pop3_uidl,
mdata->pop3_order);
}

void dbox_save_write_metadata(struct mail_save_context *_ctx,
Expand Down

0 comments on commit 71fa7e3

Please sign in to comment.