mail: must not reset the configured list of additional headers for each message !
This commit is contained in:
parent
ff433087e6
commit
aa56a3540e
@ -53,8 +53,7 @@ MimeHandlerMail::MimeHandlerMail(RclConfig *cnf, const string &id)
|
|||||||
{
|
{
|
||||||
|
|
||||||
// Look for additional headers to be processed as per config:
|
// Look for additional headers to be processed as per config:
|
||||||
vector<string> hdrnames =
|
vector<string> hdrnames = m_config->getFieldSectNames("mail");
|
||||||
m_config->getFieldSectNames("mail");
|
|
||||||
if (hdrnames.empty())
|
if (hdrnames.empty())
|
||||||
return;
|
return;
|
||||||
for (vector<string>::const_iterator it = hdrnames.begin();
|
for (vector<string>::const_iterator it = hdrnames.begin();
|
||||||
@ -83,7 +82,6 @@ void MimeHandlerMail::clear()
|
|||||||
delete *it;
|
delete *it;
|
||||||
}
|
}
|
||||||
m_attachments.clear();
|
m_attachments.clear();
|
||||||
m_addProcdHdrs.clear();
|
|
||||||
RecollFilter::clear();
|
RecollFilter::clear();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user