Merge pull request #36 from hbog/noexclude

enable display of messages with tag in in search.exclude_tags
This commit is contained in:
Aleks Kissinger 2023-10-24 17:52:07 +01:00 committed by GitHub
commit ed02090b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -203,7 +203,7 @@ class ThreadModel(QAbstractItemModel):
def refresh(self) -> None:
"""Refresh the model by calling "notmuch show"."""
r = subprocess.run(['notmuch', 'show', '--format=json', '--verify', '--include-html', self.thread_id],
r = subprocess.run(['notmuch', 'show', '--exclude=false', '--format=json', '--verify', '--include-html', self.thread_id],
stdout=subprocess.PIPE, encoding='utf8')
self.json_str = r.stdout
self.d = json.loads(self.json_str)