message: update references() implementation

Clean up the implementation at bit, and filter out 'fake' message-ids,
such as the ones from protonmail.

Update documentation.

Add Mu::Message::thread_id().

This fixes #2312.
This commit is contained in:
Dirk-Jan C. Binnema
2022-08-11 23:01:29 +03:00
parent 317fe53ff7
commit fc88158357
4 changed files with 86 additions and 19 deletions

View File

@ -973,7 +973,9 @@ public:
/**
* Get the references for this message (including in-reply-to), in the
* order of older..newer; in-reply-to would be the last one.
* order of older..newer; the first one would the oldest parent, and
* in-reply-to would be the last one (if any). These are de-duplicated,
* and known-fake references removed (see implementation)
*
* @return references.
*/