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

@@ -31,6 +31,12 @@ otrlib_policy(void)
return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2 ;
}
char *
otrlib_start_query(void)
{
return "?OTR?v2?";
}
static int
cb_display_otr_message(void *opdata, const char *accountname,
const char *protocol, const char *username, const char *msg)