]> git.notmuchmail.org Git - notmuch/commit - test/T357-index-decryption.sh
lib/n_d_index_file: re-use thread-id of existing message
authorDavid Bremner <david@tethera.net>
Sat, 15 May 2021 18:40:22 +0000 (15:40 -0300)
committerDavid Bremner <david@tethera.net>
Sun, 27 Jun 2021 01:39:07 +0000 (22:39 -0300)
commitdab32dc70c15789b188001b78b7225c61bed4784
tree083280978c513774cf090f2230b4497b08886b81
parent3a3208bb7b8bfca1c0bcaa5b45b6ef71aa768612
lib/n_d_index_file: re-use thread-id of existing message

This prevents the message document getting multiple thread-id terms
when there are multiple files with the same message-id.

This change shifts some thread ids, requiring adjustments to other tests.

(cherry picked from commit 3f4de98e7c8c70f9a86a4f899147126f79907bd9)
lib/add-message.cc
test/T357-index-decryption.sh
test/T670-duplicate-mid.sh