summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Mollekopf <mollekopf@kolabsys.com>2015-05-08 13:10:26 +0200
committerChristian Mollekopf <mollekopf@kolabsys.com>2015-05-08 13:10:26 +0200
commit6cfa34b354a67f537f2ce61c0f550ba582f2e4eb (patch)
tree4bf3abc72ec0d9ecce626c2e0e0c154c18a581ca
parentdb898b340d7df039ae05676fcba25abb8b7dc8bd (diff)
downloadlibkolab-6cfa34b354a67f537f2ce61c0f550ba582f2e4eb.tar.gz
Use correct content-type for notes.
-rw-r--r--kolabformat/mimeobject.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kolabformat/mimeobject.cpp b/kolabformat/mimeobject.cpp
index 98386cf..1aa36c5 100644
--- a/kolabformat/mimeobject.cpp
+++ b/kolabformat/mimeobject.cpp
@@ -602,7 +602,7 @@ std::string MIMEObject::writeNote(const Note &note, Version version, const std::
Kolab::XMLObject xmlObject;
if (version == KolabV3) {
const std::string xml = xmlObject.writeNote(convertAttachmentsToReferences(note), version, productId);
- msg = Mime::createMessage(xCalMimeType(), noteKolabType(), xml, true, productId, std::string(), std::string(), note.uid());
+ msg = Mime::createMessage(kolabMimeType(), noteKolabType(), xml, true, productId, std::string(), std::string(), note.uid());
} else if (version == KolabV2) {
const std::string xml = xmlObject.writeNote(note, version, productId);
msg = Mime::createMessage(noteKolabType(), noteKolabType(), xml, false, productId, std::string(), std::string(), note.uid());