aboutsummaryrefslogtreecommitdiff
path: root/lib/message.cc
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-05-23 20:38:57 -0300
committerDavid Bremner <david@tethera.net>2022-06-25 12:55:02 -0300
commitbc80ff829ac205c68dfab45a21d4732cf5b8c2d0 (patch)
treedff7c32e0cdf0acf8dced9c90e66c170478f3302 /lib/message.cc
parenta581755fbbf4149c33740779a85f3ee1f11cd7e9 (diff)
lib/message: drop _notmuch_message_get_thread_id_only
This function has been unused since commit 4083fd8.
Diffstat (limited to 'lib/message.cc')
-rw-r--r--lib/message.cc17
1 files changed, 0 insertions, 17 deletions
diff --git a/lib/message.cc b/lib/message.cc
index c331346f..71ce8b79 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -341,23 +341,6 @@ _notmuch_message_get_term (notmuch_message_t *message,
return value;
}
-/*
- * For special applications where we only want the thread id, reading
- * in all metadata is a heavy I/O penalty.
- */
-const char *
-_notmuch_message_get_thread_id_only (notmuch_message_t *message)
-{
-
- Xapian::TermIterator i = message->doc.termlist_begin ();
- Xapian::TermIterator end = message->doc.termlist_end ();
-
- message->thread_id = _notmuch_message_get_term (message, i, end,
- _find_prefix ("thread"));
- return message->thread_id;
-}
-
-
static void
_notmuch_message_ensure_metadata (notmuch_message_t *message, void *field)
{