From b16d392feb0a34a198d4c40da65b9363fb5e01b6 Mon Sep 17 00:00:00 2001 From: Jose Dapena Paz Date: Fri, 3 Apr 2009 16:20:54 +0000 Subject: [PATCH] Also simplify recipients when creating new messages (replying) pmo-trunk-r8606 --- src/modest-tny-msg.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/modest-tny-msg.c b/src/modest-tny-msg.c index 2d79dea..a0d072c 100644 --- a/src/modest-tny-msg.c +++ b/src/modest-tny-msg.c @@ -868,6 +868,7 @@ get_new_to (TnyMsg *msg, TnyHeader *header, const gchar* from, gchar* old_reply_to; gchar* old_from; gchar* new_to; + gchar* tmp; /* according to RFC2369 (http://www.faqs.org/rfcs/rfc2369.html), we * can identify Mailing-List posts by the List-Help header. @@ -931,6 +932,10 @@ get_new_to (TnyMsg *msg, TnyHeader *header, const gchar* from, } } + tmp = modest_text_utils_simplify_recipients (new_to); + g_free (new_to); + new_to = tmp; + return new_to; } -- 1.7.9.5