From 69bda89fa21de8030be251a6d8919cd01b33ea6f Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 26 Aug 2022 13:24:44 +0200 Subject: [PATCH] #8 - add function config_enable_echo_protocol() --- src/pEp/_pEp/pEpmodule.cc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/pEp/_pEp/pEpmodule.cc b/src/pEp/_pEp/pEpmodule.cc index ce92f8c..b842148 100644 --- a/src/pEp/_pEp/pEpmodule.cc +++ b/src/pEp/_pEp/pEpmodule.cc @@ -62,6 +62,10 @@ namespace pEp { ::config_unencrypted_subject(Adapter::session(), enable); } + void config_enable_echo_protocol(bool enable) { + ::config_enable_echo_protocol(Adapter::session(), enable); + } + void key_reset_user(string user_id, string fpr) { if (user_id == "") throw invalid_argument("user_id required"); @@ -269,6 +273,9 @@ namespace pEp { def("unencrypted_subject", config_unencrypted_subject, "do not encrypt the subject of messages"); + def("config_enable_echo_protocol", config_enable_echo_protocol, + "enable or disable the Distribution.Echo"); + def("key_reset", key_reset_user, "reset the default database status for the user / keypair provided\n" "This will effectively perform key_reset on each identity\n"