mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-26 06:56:22 +00:00
Change libotr 4.0.0 code to use only OTR spec v2
This commit is contained in:
@@ -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*
|
||||||
|
|||||||
Reference in New Issue
Block a user