Skip to content
Snippets Groups Projects
Commit 10e70749 authored by Stephan Bosch's avatar Stephan Bosch
Browse files

lib-sieve: edit-mail: Adjusted to changes in Dovecot lib-storage/index.

parent c5ed66bc
No related branches found
No related tags found
No related merge requests found
......@@ -1601,12 +1601,13 @@ static int edit_mail_get_special
return edmail->wrapped->v.get_special(&edmail->wrapped->mail, field, value_r);
}
static struct mail *
edit_mail_get_real_mail(struct mail *mail)
static int
edit_mail_get_backend_mail(struct mail *mail, struct mail **real_mail_r)
{
struct edit_mail *edmail = (struct edit_mail *)mail;
return edit_mail_get_mail(edmail);
*real_mail_r = edit_mail_get_mail(edmail);
return 0;
}
static void edit_mail_update_flags
......@@ -1690,7 +1691,7 @@ static struct mail_vfuncs edit_mail_vfuncs = {
edit_mail_get_stream,
index_mail_get_binary_stream,
edit_mail_get_special,
edit_mail_get_real_mail,
edit_mail_get_backend_mail,
edit_mail_update_flags,
edit_mail_update_keywords,
edit_mail_update_modseq,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment

Consent

On this website, we use the web analytics service Matomo to analyze and review the use of our website. Through the collected statistics, we can improve our offerings and make them more appealing for you. Here, you can decide whether to allow us to process your data and set corresponding cookies for these purposes, in addition to technically necessary cookies. Further information on data protection—especially regarding "cookies" and "Matomo"—can be found in our privacy policy. You can withdraw your consent at any time.