about summary refs log tree commit diff stats
path: root/tests/unittests/otr
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-06-21 01:48:25 +0100
committerJames Booth <boothj5@gmail.com>2015-06-21 01:48:25 +0100
commite45afd5c09a5a4bea9cbf8f16eb6af3908344dba (patch)
tree5832dce58ec4eea210ba2c2adffcf38715296e24 /tests/unittests/otr
parent6617bb5a2b432d9c4178984386855f30be76ecf3 (diff)
downloadprofani-tty-e45afd5c09a5a4bea9cbf8f16eb6af3908344dba.tar.gz
Added pgp checks for message sending
Diffstat (limited to 'tests/unittests/otr')
-rw-r--r--tests/unittests/otr/stub_otr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/unittests/otr/stub_otr.c b/tests/unittests/otr/stub_otr.c
index 482f0a7f..05973828 100644
--- a/tests/unittests/otr/stub_otr.c
+++ b/tests/unittests/otr/stub_otr.c
@@ -42,7 +42,10 @@ char* otr_start_query(void)
 void otr_poll(void) {}
 void otr_on_connect(ProfAccount *account) {}
 void otr_on_message_recv(const char * const barejid, const char * const resource, const char * const message) {}
-void otr_on_message_send(ProfChatWin *chatwin, const char * const message) {}
+gboolean otr_on_message_send(ProfChatWin *chatwin, const char * const message)
+{
+    return FALSE;
+}
 
 void otr_keygen(ProfAccount *account)
 {