about summary refs log tree commit diff stats
path: root/tests/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-03-16 21:41:35 +0000
committerJames Booth <boothj5@gmail.com>2015-03-16 21:41:35 +0000
commit11966d39b074e0bff4228067055807274d5d4834 (patch)
treee3f5f38b2cb9b2f92396c211fd573c4fbcadaaab /tests/otr
parentec57c72fb4ecf7266f16bcb53e260e0c83685c32 (diff)
downloadprofani-tty-11966d39b074e0bff4228067055807274d5d4834.tar.gz
Added otr_tag_message, removed commands.c dependency on libotr
Diffstat (limited to 'tests/otr')
-rw-r--r--tests/otr/stub_otr.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/otr/stub_otr.c b/tests/otr/stub_otr.c
index 82994034..7a0122b6 100644
--- a/tests/otr/stub_otr.c
+++ b/tests/otr/stub_otr.c
@@ -52,6 +52,11 @@ gboolean otr_key_loaded(void)
     return (gboolean)mock();
 }
 
+char* otr_tag_message(const char * const msg)
+{ 
+    return NULL;
+}
+
 gboolean otr_is_secure(const char * const recipient)
 {
     return FALSE;
@@ -98,4 +103,4 @@ void otr_free_message(char *message) {}
 prof_otrpolicy_t otr_get_policy(const char * const recipient)
 {
     return PROF_OTRPOLICY_MANUAL;
-}
\ No newline at end of file
+}