X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=lib%2Fthread.cc;h=79c3e9bb5d463e84b3466c76ab307dddf013c19e;hb=105537a809d1a385a3151de0c5b6235773782040;hp=8922403ea4b10c09d0982778245c69c583de7bf1;hpb=f5db7ad7d243785c274a99734c681e69d13313d0;p=notmuch diff --git a/lib/thread.cc b/lib/thread.cc index 8922403e..79c3e9bb 100644 --- a/lib/thread.cc +++ b/lib/thread.cc @@ -277,7 +277,8 @@ _thread_add_message (notmuch_thread_t *thread, address = internet_address_list_get_address (list, 0); if (address) { author = internet_address_get_name (address); - if (author == NULL) { + /* We treat quoted empty names as if they were empty. */ + if (author == NULL || author[0] == '\0') { InternetAddressMailbox *mailbox; mailbox = INTERNET_ADDRESS_MAILBOX (address); author = internet_address_mailbox_get_addr (mailbox);