* 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:
djcb 2012-05-23 23:34:28 +03:00
parent c28273d2a2
commit f7699c0ad3
1 changed files with 4 additions and 2 deletions

View File

@ -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);
}