mirror of
https://github.com/chatmail/core.git
synced 2026-04-21 15:36:30 +03:00
Rename get_headerdef into get_header_value
This commit is contained in:
@@ -75,7 +75,7 @@ impl Aheader {
|
||||
wanted_from: &str,
|
||||
headers: &[mailparse::MailHeader<'_>],
|
||||
) -> Option<Self> {
|
||||
if let Ok(Some(value)) = headers.get_headerdef(HeaderDef::Autocrypt) {
|
||||
if let Ok(Some(value)) = headers.get_header_value(HeaderDef::Autocrypt) {
|
||||
match Self::from_str(&value) {
|
||||
Ok(header) => {
|
||||
if addr_cmp(&header.addr, wanted_from) {
|
||||
|
||||
Reference in New Issue
Block a user