Commit a106a818 authored by Volker Krause's avatar Volker Krause
Browse files

Recursively search for a context date from a context MIME node

This fixes merge issues in KMail for some PDF documents without timestamps
and triggering two or more extractors.
parent 1418d5d4
Pipeline #96898 passed with stage
in 10 minutes and 50 seconds
......@@ -96,7 +96,7 @@ ExtractorDocumentNode MimeDocumentProcessor::createNodeFromContent(const QVarian
ExtractorDocumentNode node;
auto dateHdr = content->header<KMime::Headers::Date>();
const auto dateHdr = findHeader<KMime::Headers::Date>(content);
if (dateHdr) {
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment