about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp
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/xmpp
parent6617bb5a2b432d9c4178984386855f30be76ecf3 (diff)
downloadprofani-tty-e45afd5c09a5a4bea9cbf8f16eb6af3908344dba.tar.gz
Added pgp checks for message sending
Diffstat (limited to 'tests/unittests/xmpp')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index 7fd9cf98..79f2595a 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -65,13 +65,18 @@ char* message_send_chat(const char * const barejid, const char * const msg)
     return NULL;
 }
 
-char* message_send_chat_encrypted(const char * const barejid, const char * const msg)
+char* message_send_chat_otr(const char * const barejid, const char * const msg)
 {
     check_expected(barejid);
     check_expected(msg);
     return NULL;
 }
 
+char* message_send_chat_pgp(const char * const barejid, const char * const msg)
+{
+    return NULL;
+}
+
 void message_send_private(const char * const fulljid, const char * const msg) {}
 void message_send_groupchat(const char * const roomjid, const char * const msg) {}
 void message_send_groupchat_subject(const char * const roomjid, const char * const subject) {}