Browse Source

pEp.sync

PYADPT-55
Volker Birk 9 years ago
parent
commit
4b73aad877
  1. 4
      src/message.cc
  2. 2
      src/message_api.cc

4
src/message.cc

@ -110,8 +110,8 @@ namespace pEp {
{ {
if (encoding == "") { if (encoding == "") {
string _mime_type = _bl->mime_type ? _bl->mime_type : ""; string _mime_type = _bl->mime_type ? _bl->mime_type : "";
if (_mime_type == "application/pEp") if (_mime_type == "application/pEp.sync")
encoding = "pep-sync"; encoding = "pep.sync";
else else
encoding = "ascii"; encoding = "ascii";
} }

2
src/message_api.cc

@ -100,7 +100,7 @@ namespace pEp {
object sync_search(string name) object sync_search(string name)
{ {
if (name != "pep-sync") { if (name != "pep.sync") {
return object(); return object();
} }
else { else {

Loading…
Cancel
Save