notmuch_thread_get_authors

David Bremner david at tethera.net
Tue Apr 21 18:33:09 PDT 2015


Austin Clements <aclements at csail.mit.edu> writes:

> You're completely right that there's no way to reliably parse the
> authors list returned by notmuch_thread_get_authors. So don't do
> that. Just use notmuch_thread_get_messages, walk the messages list, and
> build your own authors list. There's no need to introduce additional
> complexity and surface area into the library API for this specific use
> case (IMO, even notmuch_thread_get_authors shouldn't exist, but it's
> there for legacy reasons.)

Ah, so when my DEPRECATED macros get merge, we should deprecate that
function maybe.

d


More information about the notmuch mailing list