mirror of
https://github.com/chatmail/core.git
synced 2026-05-08 09:26:29 +03:00
Log it when MDNs are combined
This commit is contained in:
@@ -323,6 +323,14 @@ impl Job {
|
|||||||
.get_additional_mdn_jobs(context, contact_id)
|
.get_additional_mdn_jobs(context, contact_id)
|
||||||
.unwrap_or_default();
|
.unwrap_or_default();
|
||||||
|
|
||||||
|
if !additional_rfc724_mids.is_empty() {
|
||||||
|
info!(
|
||||||
|
context,
|
||||||
|
"SendMdn job: aggregating {} additional MDNs",
|
||||||
|
additional_rfc724_mids.len()
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
let msg = job_try!(Message::load_from_db(context, msg_id));
|
let msg = job_try!(Message::load_from_db(context, msg_id));
|
||||||
let mimefactory = job_try!(MimeFactory::from_mdn(context, &msg, additional_rfc724_mids));
|
let mimefactory = job_try!(MimeFactory::from_mdn(context, &msg, additional_rfc724_mids));
|
||||||
let rendered_msg = job_try!(mimefactory.render());
|
let rendered_msg = job_try!(mimefactory.render());
|
||||||
|
|||||||
Reference in New Issue
Block a user