diff --git a/src/message_api.cc b/src/message_api.cc index 6f87bb8..2f7b2cc 100644 --- a/src/message_api.cc +++ b/src/message_api.cc @@ -66,11 +66,6 @@ namespace pEp { return (int) ::color_from_rating((PEP_rating) rating); } - void _config_keep_sync_msg(bool enabled) - { - ::config_keep_sync_msg(adapter.session(), enabled); - } - boost::python::tuple sync_decode(object buffer) { Py_buffer src; diff --git a/src/message_api.hh b/src/message_api.hh index 83c75ac..0ddd864 100644 --- a/src/message_api.hh +++ b/src/message_api.hh @@ -11,7 +11,6 @@ namespace pEp { int enc_format = 4, int flags = 0); boost::python::tuple decrypt_message(Message src, int flags=0); int _color(int rating); - void _config_keep_sync_msg(bool enabled); object sync_search(string name); } } diff --git a/src/pEpmodule.cc b/src/pEpmodule.cc index 6cbdfa7..2321c15 100644 --- a/src/pEpmodule.cc +++ b/src/pEpmodule.cc @@ -365,10 +365,6 @@ BOOST_PYTHON_MODULE(pEp) "text = trustwords(ident_own, ident_partner)\n" "\n" "calculate trustwords for two Identities"); - def("config_keep_sync_msg", &_config_keep_sync_msg, - "config_keep_sync_msg(enabled)\n" - "\n" - "configure if sync messages are being kept or automatically removed (default)"); // messageToSend()