mirror of
https://github.com/chatmail/core.git
synced 2026-05-12 19:36:32 +03:00
refactor: use HeaderDef constant for Chat-Disposition-Notification-To
This commit is contained in:
@@ -617,7 +617,9 @@ impl MimeFactory {
|
|||||||
// because replies to "Disposition-Notification-To" are weird in many cases
|
// because replies to "Disposition-Notification-To" are weird in many cases
|
||||||
// eg. are just freetext and/or do not follow any standard.
|
// eg. are just freetext and/or do not follow any standard.
|
||||||
headers.push(Header::new(
|
headers.push(Header::new(
|
||||||
"Chat-Disposition-Notification-To".into(),
|
HeaderDef::ChatDispositionNotificationTo
|
||||||
|
.get_headername()
|
||||||
|
.to_string(),
|
||||||
self.from_addr.clone(),
|
self.from_addr.clone(),
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user