diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-11 14:01:47 -0600 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2017-08-11 14:01:47 -0600 |
commit | 0e34fa912174733c958f5795c6113342c17c9780 (patch) | |
tree | 61ea76aadafcca79c7f233a481656712b86e5236 /framework/src/domain/mime/mailtemplates.cpp | |
parent | b6ffe9af5a00f93cd5e5dac1ebd8dabc475388e1 (diff) | |
download | kube-0e34fa912174733c958f5795c6113342c17c9780.tar.gz kube-0e34fa912174733c958f5795c6113342c17c9780.zip |
Take personal email addresses into account when replying.
Diffstat (limited to 'framework/src/domain/mime/mailtemplates.cpp')
-rw-r--r-- | framework/src/domain/mime/mailtemplates.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/framework/src/domain/mime/mailtemplates.cpp b/framework/src/domain/mime/mailtemplates.cpp index 7bfcf38e..79275bda 100644 --- a/framework/src/domain/mime/mailtemplates.cpp +++ b/framework/src/domain/mime/mailtemplates.cpp | |||
@@ -795,16 +795,12 @@ static Recipients getRecipients(const KMime::Message::Ptr &origMsg, const KMime: | |||
795 | return {toList, ccList}; | 795 | return {toList, ccList}; |
796 | } | 796 | } |
797 | 797 | ||
798 | void MailTemplates::reply(const KMime::Message::Ptr &origMsg, const std::function<void(const KMime::Message::Ptr &result)> &callback) | 798 | void MailTemplates::reply(const KMime::Message::Ptr &origMsg, const std::function<void(const KMime::Message::Ptr &result)> &callback, const KMime::Types::AddrSpecList &me) |
799 | { | 799 | { |
800 | //FIXME | 800 | //FIXME |
801 | const bool alwaysPlain = true; | 801 | const bool alwaysPlain = true; |
802 | KMime::Message::Ptr msg(new KMime::Message); | 802 | KMime::Message::Ptr msg(new KMime::Message); |
803 | //FIXME | ||
804 | //Personal email addresses, required to detect the case where we reply to a message we have sent ourselves | ||
805 | KMime::Types::AddrSpecList me; | ||
806 | 803 | ||
807 | // const uint originalIdentity = identityUoid(origMsg); | ||
808 | initHeader(msg); | 804 | initHeader(msg); |
809 | 805 | ||
810 | msg->contentType()->setCharset("utf-8"); | 806 | msg->contentType()->setCharset("utf-8"); |