diff options
author | James Booth <boothj5@gmail.com> | 2015-06-21 01:48:25 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-06-21 01:48:25 +0100 |
commit | e45afd5c09a5a4bea9cbf8f16eb6af3908344dba (patch) | |
tree | 5832dce58ec4eea210ba2c2adffcf38715296e24 /tests/unittests/otr | |
parent | 6617bb5a2b432d9c4178984386855f30be76ecf3 (diff) | |
download | profani-tty-e45afd5c09a5a4bea9cbf8f16eb6af3908344dba.tar.gz |
Added pgp checks for message sending
Diffstat (limited to 'tests/unittests/otr')
-rw-r--r-- | tests/unittests/otr/stub_otr.c | 5 |
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) { |