From 4b73aad877e578a2ab1b1099c91018f907ff780c Mon Sep 17 00:00:00 2001 From: Volker Birk Date: Sat, 3 Sep 2016 15:32:07 +0200 Subject: [PATCH] pEp.sync --- src/message.cc | 4 ++-- src/message_api.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/message.cc b/src/message.cc index 5152a8e..9f3b4fd 100644 --- a/src/message.cc +++ b/src/message.cc @@ -110,8 +110,8 @@ namespace pEp { { if (encoding == "") { string _mime_type = _bl->mime_type ? _bl->mime_type : ""; - if (_mime_type == "application/pEp") - encoding = "pep-sync"; + if (_mime_type == "application/pEp.sync") + encoding = "pep.sync"; else encoding = "ascii"; } diff --git a/src/message_api.cc b/src/message_api.cc index 6a52b9c..bdec3df 100644 --- a/src/message_api.cc +++ b/src/message_api.cc @@ -100,7 +100,7 @@ namespace pEp { object sync_search(string name) { - if (name != "pep-sync") { + if (name != "pep.sync") { return object(); } else {