Added OTR supported versions in initial start query message

This commit is contained in:
James Booth
2014-02-18 22:31:27 +00:00
parent 037ca81821
commit 09472e43c4
6 changed files with 26 additions and 2 deletions

View File

@@ -32,6 +32,12 @@ otrlib_policy(void)
return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2 | OTRL_POLICY_ALLOW_V3;
}
char *
otrlib_start_query(void)
{
return "?OTR?v23?";
}
static const char*
cb_otr_error_message(void *opdata, ConnContext *context,
OtrlErrorCode err_code)