diff --git a/server/ev_server.cc b/server/ev_server.cc index 132e500..541172f 100644 --- a/server/ev_server.cc +++ b/server/ev_server.cc @@ -112,7 +112,8 @@ const FunctionMap functions = { FP( "cache_encrypt_message_for_self", new FuncPC, In, In, Out, In, In>( &pEp::MessageCache::cache_encrypt_message_for_self) ), - FP( "decrypt_message", new FuncPC, InOutP, InOutP, InOutP>( &decrypt_message ) ), + FP( "decrypt_message", new FuncPC, Out, InOutP, Out, InOutP>( &decrypt_message ) ), + FP( "cache_decrypt_message", new FuncPC, Out, InOutP, Out, InOutP>( &pEp::MessageCache::cache_decrypt_message) ), FP( "get_key_rating_for_user", new FuncPC, In, Out>( &get_key_rating_for_user) ),