1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Change libotr 4.0.0 code to use only OTR spec v2

This commit is contained in:
James Booth 2014-03-24 21:02:10 +00:00
parent 8306d4c244
commit 9815ef3b02

View File

@ -29,13 +29,13 @@
OtrlPolicy OtrlPolicy
otrlib_policy(void) otrlib_policy(void)
{ {
return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2 | OTRL_POLICY_ALLOW_V3; return OTRL_POLICY_ALLOW_V1 | OTRL_POLICY_ALLOW_V2;
} }
char * char *
otrlib_start_query(void) otrlib_start_query(void)
{ {
return "?OTR?v23?"; return "?OTR?v2?";
} }
static const char* static const char*