mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Modified otrlibv4 and otrlibv4 to add informative message when starting OTR conversation.
This commit is contained in:
parent
36c6dbda86
commit
f95ae8b0dd
@ -34,7 +34,7 @@ otrlib_policy(void)
|
|||||||
char *
|
char *
|
||||||
otrlib_start_query(void)
|
otrlib_start_query(void)
|
||||||
{
|
{
|
||||||
return "?OTR?v2?";
|
return "?OTR?v2? This user has requested an Off-the-Record private conversation. However, you do not have a plugin to support that. See http://otr.cypherpunks.ca/ for more information.";
|
||||||
}
|
}
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -35,7 +35,7 @@ otrlib_policy(void)
|
|||||||
char *
|
char *
|
||||||
otrlib_start_query(void)
|
otrlib_start_query(void)
|
||||||
{
|
{
|
||||||
return "?OTR?v2?";
|
return "?OTR?v2? This user has requested an Off-the-Record private conversation. However, you do not have a plugin to support that. See http://otr.cypherpunks.ca/ for more information.";
|
||||||
}
|
}
|
||||||
|
|
||||||
static const char*
|
static const char*
|
||||||
|
Loading…
Reference in New Issue
Block a user