mirror of https://github.com/djcb/mu.git
* mu-msg-sexp.c: add contact info later in the sexp so that we can access file
data (in the !header_only case), i.e.. Reply-To
This commit is contained in:
parent
c28273d2a2
commit
f7699c0ad3
|
@ -344,8 +344,6 @@ mu_msg_to_sexp (MuMsg *msg, unsigned docid, const MuMsgIterThreadInfo *ti,
|
|||
if (docid != 0)
|
||||
g_string_append_printf (gstr, "\t:docid %u\n", docid);
|
||||
|
||||
append_sexp_contacts (gstr, msg);
|
||||
|
||||
if (ti)
|
||||
append_sexp_thread_info (gstr, ti);
|
||||
|
||||
|
@ -374,6 +372,10 @@ mu_msg_to_sexp (MuMsg *msg, unsigned docid, const MuMsgIterThreadInfo *ti,
|
|||
append_sexp_parts (gstr, msg, extract_images);
|
||||
}
|
||||
|
||||
/* note, some of the contacts info comes from the file, soe
|
||||
* this has to be after the previous */
|
||||
append_sexp_contacts (gstr, msg);
|
||||
|
||||
g_string_append (gstr, ")\n");
|
||||
return g_string_free (gstr, FALSE);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue