mirror of
https://github.com/rustmailer/rustmailer.git
synced 2026-08-24 16:00:32 +00:00
Merge pull request #17 from KolbeinNL/fix-set-thread-id
Make sure correct thread_id is set when creating envelope
This commit is contained in:
@@ -67,7 +67,7 @@ pub fn extract_envelope(
|
||||
)
|
||||
})?;
|
||||
|
||||
let envelope = EmailEnvelopeV3 {
|
||||
let mut envelope = EmailEnvelopeV3 {
|
||||
account_id,
|
||||
mailbox_id: mailbox_id(account_id, mailbox_name),
|
||||
mailbox_name: mailbox_name.into(),
|
||||
@@ -103,6 +103,7 @@ pub fn extract_envelope(
|
||||
mid: None,
|
||||
labels: vec![],
|
||||
};
|
||||
envelope.thread_id = envelope.compute_thread_id();
|
||||
|
||||
Ok(envelope)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user