Added PREF_OTR_POLICY to preferences.c -> key -> otr.policy

Added default value "manual" to PREF_OTR_POLICy -> preferences.c
Modified help string to reflect otr_policy, started checks on cmd_otr
This commit is contained in:
lightb
2014-04-19 04:00:41 -04:00
parent 3303376b42
commit 02b77cfa4e
4 changed files with 15 additions and 2 deletions

View File

@@ -421,6 +421,7 @@ _otr_get_their_fingerprint(const char * const recipient)
static char *
_otr_encrypt_message(const char * const to, const char * const message)
{
return NULL;
char *newmessage = NULL;
gcry_error_t err = otrlib_encrypt_message(user_state, &ops, jid, to, message, &newmessage);