mirror of
https://github.com/chatmail/core.git
synced 2026-04-22 16:06:30 +03:00
feat: include 3 recent Message-IDs in References header
Do not include oldest reference, because chat members which have been added later and have not seen the first message do not have referenced message in the database. Instead, include up to 3 recent Message-IDs.
This commit is contained in:
@@ -64,7 +64,15 @@ pub struct MimeFactory<'a> {
|
||||
loaded: Loaded,
|
||||
msg: &'a Message,
|
||||
in_reply_to: String,
|
||||
|
||||
/// Space-separated list of Message-IDs for `References` header.
|
||||
///
|
||||
/// Each Message-ID in the list
|
||||
/// may or may not be enclosed in angle brackets,
|
||||
/// angle brackets must be added during message rendering
|
||||
/// as needed.
|
||||
references: String,
|
||||
|
||||
req_mdn: bool,
|
||||
last_added_location_id: Option<u32>,
|
||||
|
||||
|
||||
Reference in New Issue
Block a user