diff --git a/lib/mu-msg-sexp.c b/lib/mu-msg-sexp.c index a7fb39e3..58a4a166 100644 --- a/lib/mu-msg-sexp.c +++ b/lib/mu-msg-sexp.c @@ -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); }