* mu-query/mu-msg-iter: when showing related message (--include-related),
favor the ones that were in the original set
This commit is contained in:
@ -51,8 +51,6 @@ enum _MuMsgIterFlags {
|
||||
};
|
||||
typedef unsigned MuMsgIterFlags;
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* create a new MuMsgIter -- basically, an iterator over the search
|
||||
* results
|
||||
@ -128,6 +126,18 @@ MuMsg* mu_msg_iter_get_msg_floating (MuMsgIter *iter)
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Provide a preferred_hash, which is a hashtable msgid->docid to
|
||||
* indicate the messages which should /not/ be seen as duplicates.
|
||||
*
|
||||
* @param iter a valid MuMsgIter iterator
|
||||
* @param preferred_hash a hashtable msgid->docid of message /not/ to
|
||||
* mark as duplicates, or NULL
|
||||
*/
|
||||
void mu_msg_iter_set_preferred (MuMsgIter *iter, GHashTable *preferred_hash);
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* get the document id for the current message
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user