]> granicus.if.org Git - neomutt/commit
mutt_notmuch: fix setting custom query_type in notmuch query 740/head
authorFlorian Klink <flokli@flokli.de>
Thu, 31 Aug 2017 02:21:26 +0000 (04:21 +0200)
committerRichard Russon <rich@flatcap.org>
Wed, 6 Sep 2017 13:16:08 +0000 (14:16 +0100)
commitf61124a1aa25a9d5bf1e0dbad2be2a4869776e6b
treec8912fb5822ac3b33662a030208d879d15be2d5f
parentf2beb53f8265d51e74ddc72f517189c6e5bdc564
mutt_notmuch: fix setting custom query_type in notmuch query

nm_normalize_uri re-builds notmuch queries, but nm_uri_from_query
doesn't set query_type back again, so fix that.
Also, use the NmQueryType enum where possible instead of int.

Fixes #484.
mutt_notmuch.c