mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-22 09:24:54 +01:00
lib/message: drop _notmuch_message_get_thread_id_only
This function has been unused since commit 4083fd8
.
This commit is contained in:
parent
a581755fbb
commit
bc80ff829a
2 changed files with 0 additions and 20 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -586,9 +586,6 @@ _notmuch_message_add_reply (notmuch_message_t *message,
|
|||
void
|
||||
_notmuch_message_remove_unprefixed_terms (notmuch_message_t *message);
|
||||
|
||||
const char *
|
||||
_notmuch_message_get_thread_id_only (notmuch_message_t *message);
|
||||
|
||||
size_t _notmuch_message_get_thread_depth (notmuch_message_t *message);
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in a new issue