mirror of https://github.com/djcb/mu.git
* mu-msg, mu-msg-file: update doc for get_references a bit
This commit is contained in:
parent
a625371da2
commit
19a0c1c478
|
@ -486,6 +486,9 @@ contains (GSList *lst, const char *str)
|
|||
}
|
||||
|
||||
|
||||
/*
|
||||
* NOTE: this will get the list of references with the oldest parent
|
||||
* at the beginning */
|
||||
static GSList*
|
||||
get_references (MuMsgFile *self)
|
||||
{
|
||||
|
@ -520,6 +523,8 @@ get_references (MuMsgFile *self)
|
|||
g_mime_references_free (mime_refs);
|
||||
}
|
||||
|
||||
/* reverse, because we used g_slist_prepend for performance
|
||||
* reasons */
|
||||
return g_slist_reverse (msgids);
|
||||
}
|
||||
|
||||
|
|
|
@ -390,12 +390,11 @@ time_t mu_msg_get_timestamp (MuMsg *msg);
|
|||
const char* mu_msg_get_header (MuMsg *self, const char *header);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* get the list of references, with the direct parent as the final
|
||||
* one; this final one is typically the 'In-reply-to' field. Note, any
|
||||
* reference (message-id) will appear at most once, duplicates are
|
||||
* filtered out.
|
||||
* get the list of references (consisting of both the References and
|
||||
* In-Reply-To fields), with the oldest first and the direct parent as
|
||||
* the last one. Note, any reference (message-id) will appear at most
|
||||
* once, duplicates are filtered out.
|
||||
*
|
||||
* @param msg a valid MuMsg
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue