From f95ae8b0dd98a1ccfffb4fe7866eb3007e28f8f8 Mon Sep 17 00:00:00 2001 From: lightb Date: Tue, 22 Apr 2014 13:07:19 -0400 Subject: Modified otrlibv4 and otrlibv4 to add informative message when starting OTR conversation. --- src/otr/otrlibv3.c | 2 +- src/otr/otrlibv4.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/otr/otrlibv3.c b/src/otr/otrlibv3.c index 633d07b8..4605f614 100644 --- a/src/otr/otrlibv3.c +++ b/src/otr/otrlibv3.c @@ -34,7 +34,7 @@ otrlib_policy(void) char * 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 diff --git a/src/otr/otrlibv4.c b/src/otr/otrlibv4.c index 01afa868..c55d2972 100644 --- a/src/otr/otrlibv4.c +++ b/src/otr/otrlibv4.c @@ -35,7 +35,7 @@ otrlib_policy(void) char * 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* -- cgit 1.4.1-2-gfad0