about summary refs log tree commit diff stats
path: root/src/otr/otr.h
diff options
context:
space:
mode:
authorlightb <lightb@bigfoot>2014-04-21 18:03:07 -0400
committerlightb <lightb@bigfoot>2014-04-21 18:03:07 -0400
commitda89e241720a65ecbf4c8f667f8245ceeb4a7d48 (patch)
tree64261627e6491ba3a96eec3960c7748f61b5c8ab /src/otr/otr.h
parent1ceca892965189b6f8751f40bd5e58e83d0f7baa (diff)
downloadprofani-tty-da89e241720a65ecbf4c8f667f8245ceeb4a7d48.tar.gz
Added opportunistic send functionality to cmd_msg
If policy is set to 'opportunistic' then when the user executes cmd_msg it will append the otr whitespace tag to the message

The other client should start AKE once it receives the message.

TODO: Analyze incoming messages for whitespace tag
Diffstat (limited to 'src/otr/otr.h')
-rw-r--r--src/otr/otr.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/otr/otr.h b/src/otr/otr.h
index 5239c033..21a15e4b 100644
--- a/src/otr/otr.h
+++ b/src/otr/otr.h
@@ -23,6 +23,8 @@
 #ifndef OTR_H
 #define OTR_H
 
+#define OTRL_TAG " \t  \t\t\t\t \t \t \t  "
+
 #include "config/accounts.h"
 
 void otr_init_module(void);