X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fthread.cc;fp=lib%2Fthread.cc;h=3561b27f743976d2c2d1918d33fc2a8d33469c74;hp=1632da4cd0f4f9398e774b8157004e89914485d9;hb=7cfa1c69610bcf15fb47868131d3d9102f899225;hpb=8e1c3fa5bba1434077df2f5a81ed6588468f9eb9 diff --git a/lib/thread.cc b/lib/thread.cc index 1632da4c..3561b27f 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -160,6 +160,9 @@ _resolve_thread_authors_string (notmuch_thread_t *thread) thread->authors_array = NULL; g_ptr_array_free (thread->matched_authors_array, true); thread->matched_authors_array = NULL; + + if (!thread->authors) + thread->authors = talloc_strdup(thread, ""); } /* clean up the ugly "Lastname, Firstname" format that some mail systems