summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorniko <niko>2012-11-06 21:25:01 (GMT)
committerniko <niko>2012-11-06 21:25:01 (GMT)
commit0641efc4b13bd96180d09b349cadd716364116dd (patch)
treebd8f07972fc10809da3ede4ef3ac253b963fc816
parent5690e61b00263715610e98e2911999cd0259424f (diff)
downloadsynckolab-0641efc4b13bd96180d09b349cadd716364116dd.tar.gz
fix content type for compatibilty
-rw-r--r--src/chrome/content/synckolab/addressbookTools.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/chrome/content/synckolab/addressbookTools.js b/src/chrome/content/synckolab/addressbookTools.js
index 882ae16..7fa74ea 100644
--- a/src/chrome/content/synckolab/addressbookTools.js
+++ b/src/chrome/content/synckolab/addressbookTools.js
@@ -3622,7 +3622,7 @@ synckolab.addressbookTools.card2Message = function (card, email, format, fields)
if (format === "xml-k2") {
// mailing list
if (card.isMailList) {
- return synckolab.tools.generateMail(this.getUID(card), email, "", "application/x-vnd.kolab.contact.distlist", true, synckolab.tools.text.utf8.encode(this.list2Xml(card, fields)), this.list2Human(card));
+ return synckolab.tools.generateMail(this.getUID(card), email, "", "application/x-vnd.kolab.distribution-list", true, synckolab.tools.text.utf8.encode(this.list2Xml(card, fields)), this.list2Human(card));
} else {
// generat email with optional image attachment
var img = null;
@@ -3641,7 +3641,7 @@ synckolab.addressbookTools.card2Message = function (card, email, format, fields)
} else if(format === "xml-k3") {
// mailing list
if (card.isMailList) {
- return synckolab.tools.generateMail(this.getUID(card), email, "", "application/x-vcard.list+xml", true, synckolab.tools.text.utf8.encode(this.list2Kolab3(card, fields)), this.list2Human(card));
+ return synckolab.tools.generateMail(this.getUID(card), email, "", "application/x-vnd.kolab.distribution-list", true, synckolab.tools.text.utf8.encode(this.list2Kolab3(card, fields)), this.list2Human(card));
} else {
data = this.card2Kolab3(card, fields);
if(data.content) {