X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fthread.cc;h=e38a5b2e0abc336bd16fe03de8cb82902abd984d;hb=387828c4356416278fdac8446c904fe4c5ad283d;hp=4411d64d98da05964318b23c0d26cc9dba7e77af;hpb=e8c9c3e6a534fc6c2919c2c1de63cea7250eb488;p=notmuch diff --git a/lib/thread.cc b/lib/thread.cc index 4411d64d..e38a5b2e 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -155,7 +155,7 @@ _resolve_thread_relationships (unused (notmuch_thread_t *thread)) while ((node = *prev)) { message = node->message; in_reply_to = _notmuch_message_get_in_reply_to (message); - if (in_reply_to && + if (in_reply_to && strlen (in_reply_to) && g_hash_table_lookup_extended (thread->message_hash, in_reply_to, NULL, (void **) &parent))