mu: decode mailing-list headers

MIME-decode mailing list headers, too. Also add a unit test. This fixes
issue #728.
This commit is contained in:
djcb
2015-12-15 07:21:26 +02:00
parent 2d443a953c
commit 3cf96899ef
3 changed files with 20 additions and 7 deletions

View File

@ -334,8 +334,9 @@ test_mu_msg_references (void)
static void
test_mu_msg_references_dups (void)
{
MuMsg *msg;
const GSList *refs;
MuMsg *msg;
const GSList *refs;
const char *mlist;
msg = get_msg (MU_TESTMAILDIR4 "/1252168370_3.14675.cthulhu!2,S");
refs = mu_msg_get_references(msg);
@ -363,6 +364,9 @@ test_mu_msg_references_dups (void)
"20051211184308.GB13513@gauss.org");
refs = g_slist_next (refs);
mlist = mu_msg_get_mailing_list (msg);
g_assert_cmpstr (mlist ,==, "Example of List Id");
mu_msg_unref (msg);
}
@ -405,10 +409,6 @@ test_mu_msg_references_many (void)
mu_msg_unref (msg);
}
static void
test_mu_msg_tags (void)
{