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:
|
||||
vector<string> hdrnames =
|
||||
m_config->getFieldSectNames("mail");
|
||||
vector<string> hdrnames = m_config->getFieldSectNames("mail");
|
||||
if (hdrnames.empty())
|
||||
return;
|
||||
for (vector<string>::const_iterator it = hdrnames.begin();
|
||||
@ -83,7 +82,6 @@ void MimeHandlerMail::clear()
|
||||
delete *it;
|
||||
}
|
||||
m_attachments.clear();
|
||||
m_addProcdHdrs.clear();
|
||||
RecollFilter::clear();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user