X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fthread.cc;h=e38a5b2e0abc336bd16fe03de8cb82902abd984d;hp=4411d64d98da05964318b23c0d26cc9dba7e77af;hb=387828c4356416278fdac8446c904fe4c5ad283d;hpb=933caf814fcbbb7420d03ef42bb37bea6dd90449 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))