X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fmessage.cc;h=8720c1b542d839a24613991b4b425fe03f65e1e3;hp=320901f77eb010a1cab4502c79db6faccbc6d49c;hb=5394924e6cf8f4758fdfb748b8b28b7ef9165ce7;hpb=086dab4333623f38a8813643f42eee4ac31aa7f5 diff --git a/lib/message.cc b/lib/message.cc index 320901f7..8720c1b5 100644 --- a/lib/message.cc +++ b/lib/message.cc @@ -462,9 +462,9 @@ notmuch_message_get_thread_id (notmuch_message_t *message) void _notmuch_message_add_reply (notmuch_message_t *message, - notmuch_message_node_t *reply) + notmuch_message_t *reply) { - _notmuch_message_list_append (message->replies, reply); + _notmuch_message_list_add_message (message->replies, reply); } notmuch_messages_t *