Re: notmuch_thread_get_authors

Subject: Re: notmuch_thread_get_authors

Date: Wed, 22 Apr 2015 10:33:09 +0900

To: Austin Clements, Ronny Chevalier

Cc: notmuch@notmuchmail.org

From: David Bremner


Austin Clements <aclements@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

Thread: