summaryrefslogtreecommitdiff
path: root/query.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-29 08:51:12 -0700
committerCarl Worth <cworth@cworth.org>2009-10-29 08:51:12 -0700
commitbf78a89196b251c2465f6cefa8198f22c87ff23d (patch)
tree3728d25ec1ec9317cb4aca314ab7f8fa932f15d4 /query.cc
parentb39ebca8c97fb19c52e46a2b9565c2d9fa0707d0 (diff)
notmuch show: Initial implementation (headers only)
We're using a delimiter syntax that Keith is optimistic about being able to easily parse in emacs. Note: We're not escaping any occurrence of the delimiters in the message yet, so we'll need to fix that.
Diffstat (limited to 'query.cc')
-rw-r--r--query.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/query.cc b/query.cc
index 5fac024..170ab75 100644
--- a/query.cc
+++ b/query.cc
@@ -212,7 +212,7 @@ notmuch_query_search_threads (notmuch_query_t *query)
thread = _notmuch_thread_create (query, query->notmuch,
thread_id);
- subject = _notmuch_message_get_subject (message);
+ subject = notmuch_message_get_header (message, "subject");
_notmuch_thread_set_subject (thread, subject);