From 11966d39b074e0bff4228067055807274d5d4834 Mon Sep 17 00:00:00 2001 From: James Booth Date: Mon, 16 Mar 2015 21:41:35 +0000 Subject: Added otr_tag_message, removed commands.c dependency on libotr --- tests/otr/stub_otr.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/otr') 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 +} -- cgit 1.4.1-2-gfad0