Aaron Ecay writes:
> Presently, the code which finds the parent of a message as it is being
> added to the database assumes that the first Message-ID-like substring
> of the In-Reply-To header is the parent Message ID. Some mail
> clients, however, put stuff other than the Message-ID of the pare
Aaron Ecay writes:
> Presently, the code which finds the parent of a message as it is being
> added to the database assumes that the first Message-ID-like substring
> of the In-Reply-To header is the parent Message ID. Some mail
> clients, however, put stuff other than the Message-ID of the pare
LGTM
On Wed, 06 Mar 2013, Aaron Ecay wrote:
> Presently, the code which finds the parent of a message as it is being
> added to the database assumes that the first Message-ID-like substring
> of the In-Reply-To header is the parent Message ID. Some mail clients,
> however, put stuff other than
Aaron Ecay writes:
> +if (ref && strcmp(ref, message_id)) {
> + return ref;
> +} else {
> + return NULL;
> +}
As a nit, there should be a space after strcmp. But if nobody has any
other comments, I could amend that.
d
LGTM
On Wed, 06 Mar 2013, Aaron Ecay wrote:
> Presently, the code which finds the parent of a message as it is being
> added to the database assumes that the first Message-ID-like substring
> of the In-Reply-To header is the parent Message ID. Some mail clients,
> however, put stuff other than
Aaron Ecay writes:
> +if (ref && strcmp(ref, message_id)) {
> + return ref;
> +} else {
> + return NULL;
> +}
As a nit, there should be a space after strcmp. But if nobody has any
other comments, I could amend that.
d
___
notmuch ma
Presently, the code which finds the parent of a message as it is being
added to the database assumes that the first Message-ID-like substring
of the In-Reply-To header is the parent Message ID. Some mail clients,
however, put stuff other than the Message-ID of the parent in the
In-Reply-To header,
Presently, the code which finds the parent of a message as it is being
added to the database assumes that the first Message-ID-like substring
of the In-Reply-To header is the parent Message ID. Some mail clients,
however, put stuff other than the Message-ID of the parent in the
In-Reply-To header,