From e4ef9b2bc4609f5ebdf3d962a7fc801cd71af01f Mon Sep 17 00:00:00 2001 From: heck Date: Fri, 26 Aug 2022 13:26:25 +0200 Subject: [PATCH] #8 - add function config_enable_echo_in_outgoing_message_rating_preview() --- 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 b842148..5009a15 100644 --- a/src/pEp/_pEp/pEpmodule.cc +++ b/src/pEp/_pEp/pEpmodule.cc @@ -66,6 +66,10 @@ namespace pEp { ::config_enable_echo_protocol(Adapter::session(), enable); } + void config_enable_echo_in_outgoing_message_rating_preview(bool enable) { + ::config_enable_echo_in_outgoing_message_rating_preview(Adapter::session(), enable); + } + void key_reset_user(string user_id, string fpr) { if (user_id == "") throw invalid_argument("user_id required"); @@ -276,6 +280,9 @@ namespace pEp { def("config_enable_echo_protocol", config_enable_echo_protocol, "enable or disable the Distribution.Echo"); + def("config_enable_echo_in_outgoing_message_rating_preview", config_enable_echo_in_outgoing_message_rating_preview, + "enable or disable Distribution.Echo.Ping"); + 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"