summaryrefslogtreecommitdiffstats
path: root/common/mailpreprocessor.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-31 18:45:59 +0100
committerChristian Mollekopf <chrigi_1@fastmail.fm>2016-10-31 18:45:59 +0100
commit1d245e28c9b1b18a45097a72bc4ff166c59c37ba (patch)
tree46853e4df7d5b60435088b8503966567639b51b6 /common/mailpreprocessor.cpp
parenteed2f992300a82debdeda3ece5acf5c05954bbf7 (diff)
downloadsink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.tar.gz
sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.zip
Mail::Contact mapping
Diffstat (limited to 'common/mailpreprocessor.cpp')
-rw-r--r--common/mailpreprocessor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/mailpreprocessor.cpp b/common/mailpreprocessor.cpp
index d45afe6..17a2f4f 100644
--- a/common/mailpreprocessor.cpp
+++ b/common/mailpreprocessor.cpp
@@ -84,8 +84,8 @@ struct MimeMessageReader {
84static void updatedIndexedProperties(Sink::ApplicationDomain::Mail &mail, KMime::Message::Ptr msg) 84static void updatedIndexedProperties(Sink::ApplicationDomain::Mail &mail, KMime::Message::Ptr msg)
85{ 85{
86 mail.setExtractedSubject(msg->subject(true)->asUnicodeString()); 86 mail.setExtractedSubject(msg->subject(true)->asUnicodeString());
87 mail.setExtractedSender(msg->from(true)->asUnicodeString()); 87 /* mail.setExtractedSender(msg->from(true)->asUnicodeString()); */
88 mail.setExtractedSenderName(msg->from(true)->asUnicodeString()); 88 /* mail.setExtractedSenderName(msg->from(true)->asUnicodeString()); */
89 mail.setExtractedDate(msg->date(true)->dateTime()); 89 mail.setExtractedDate(msg->date(true)->dateTime());
90 90
91 //The rest should never change, unless we didn't have the headers available initially. 91 //The rest should never change, unless we didn't have the headers available initially.