]> git.notmuchmail.org Git - notmuch/commit
cli/reply: pass gmime message to Reply-To: redundancy detection
authorJani Nikula <jani@nikula.org>
Tue, 13 Sep 2016 17:14:21 +0000 (20:14 +0300)
committerDavid Bremner <david@tethera.net>
Sat, 17 Sep 2016 12:18:28 +0000 (09:18 -0300)
commite20a7a2fbcaa21926b3ae8c199839b792433767a
tree541af908668376f5915c81150b206f28557895ce
parent932c0ff879ddaf38f1e4ae325c061132d6af1026
cli/reply: pass gmime message to Reply-To: redundancy detection

Use gmime message instead of notmuch message in Reply-To: redundancy
detection. This allows us to easily iterate over all recipient email
addresses accurately, instead of just scanning for strings in the
relevant message headers. This improves the accuracy of the detection
in many ways.

This also makes the notmuch message parameter to get_sender()
unused. This will be cleaned up in a follow-up patch to not make too
many changes here at once.
notmuch-reply.c