From: Jani Nikula Date: Tue, 13 Sep 2016 17:14:19 +0000 (+0300) Subject: cli/reply: return internet address list from get header funcs X-Git-Tag: 0.23_rc0~27 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=536b1f9df989915161024d2334e206f538d59f9b;hp=536b1f9df989915161024d2334e206f538d59f9b cli/reply: return internet address list from get header funcs Pass in GMimeMessage to simplify To/Cc/Bcc headers. We'll eventually remove the notmuch message passing altogether, but keep both for now to not make too big changes at once. Getting the headers from GMimeMessage using GMime functions fixes the error on duplicate Cc headers reported by Daniel Kahn Gillmor in id:87d1ngv95p.fsf@alice.fifthhorseman.net. Get rid of an intermediate function. The small annoyance is the ownership differences in the address lists. ---