]> git.cworth.org Git - notmuch/commit
bindings/python-cffi: add matched property to message objects
authorDavid Bremner <david@tethera.net>
Sat, 1 Jan 2022 14:36:43 +0000 (10:36 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 1 Jan 2022 15:48:40 +0000 (11:48 -0400)
commit9cc026f3daaa7731527787f8c7e729c0a08c456c
treec835c6eb6cbb00c9c8db6804d3d728a07a45db70
parente9c55864cde6e9b9653b9963a36f633f34a57779
bindings/python-cffi: add matched property to message objects

Existing users of the legacy python bindings use
message.get_flags(Message.FLAG.MATCH) to determine which messages in a
thread matched. Since the bindings don't provide get_flags anymore,
they should provide a property analogous to the existing "excluded"
property.
bindings/python-cffi/notmuch2/_message.py
bindings/python-cffi/tests/test_message.py
bindings/python-cffi/tests/test_thread.py