diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-31 18:45:59 +0100 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2016-10-31 18:45:59 +0100 |
commit | 1d245e28c9b1b18a45097a72bc4ff166c59c37ba (patch) | |
tree | 46853e4df7d5b60435088b8503966567639b51b6 /common/mailpreprocessor.cpp | |
parent | eed2f992300a82debdeda3ece5acf5c05954bbf7 (diff) | |
download | sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.tar.gz sink-1d245e28c9b1b18a45097a72bc4ff166c59c37ba.zip |
Mail::Contact mapping
Diffstat (limited to 'common/mailpreprocessor.cpp')
-rw-r--r-- | common/mailpreprocessor.cpp | 4 |
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 { | |||
84 | static void updatedIndexedProperties(Sink::ApplicationDomain::Mail &mail, KMime::Message::Ptr msg) | 84 | static 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. |