summaryrefslogtreecommitdiffstats
path: root/framework/src/domain/mime/mailtemplates.cpp
diff options
context:
space:
mode:
authorChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-03 10:00:35 -0600
committerChristian Mollekopf <chrigi_1@fastmail.fm>2017-08-03 10:00:35 -0600
commitb7e18a461fd14ec34723d689f644880964314f1b (patch)
treef7ef6f625a987d8bd484ec283f4d1e5da38aa124 /framework/src/domain/mime/mailtemplates.cpp
parentc71bc1b1fdd4055dfe2e2155961827b8652dd96c (diff)
downloadkube-b7e18a461fd14ec34723d689f644880964314f1b.tar.gz
kube-b7e18a461fd14ec34723d689f644880964314f1b.zip
Commit missing files
Diffstat (limited to 'framework/src/domain/mime/mailtemplates.cpp')
-rw-r--r--framework/src/domain/mime/mailtemplates.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/framework/src/domain/mime/mailtemplates.cpp b/framework/src/domain/mime/mailtemplates.cpp
index dc713ee4..0380fa5c 100644
--- a/framework/src/domain/mime/mailtemplates.cpp
+++ b/framework/src/domain/mime/mailtemplates.cpp
@@ -977,11 +977,8 @@ KMime::Message::Ptr MailTemplates::createMessage(KMime::Message::Ptr existingMes
977 for (const auto &attachment : attachments) { 977 for (const auto &attachment : attachments) {
978 mail->addContent(createAttachmentPart(attachment.data, attachment.filename, attachment.isInline, attachment.mimeType, attachment.name)); 978 mail->addContent(createAttachmentPart(attachment.data, attachment.filename, attachment.isInline, attachment.mimeType, attachment.name));
979 } 979 }
980 bodyPart = createBodyPart(body.toUtf8());
981 } else {
982 //FIXME same implementation as above for attachments
983 bodyPart = createBodyPart(body.toUtf8());
984 } 980 }
981 bodyPart = createBodyPart(body.toUtf8());
985 mail->assemble(); 982 mail->assemble();
986 983
987 KMime::Content *signedResult = nullptr; 984 KMime::Content *signedResult = nullptr;