about summary refs log tree commit diff stats
path: root/tests/unittests/xmpp/stub_xmpp.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unittests/xmpp/stub_xmpp.c')
-rw-r--r--tests/unittests/xmpp/stub_xmpp.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/xmpp/stub_xmpp.c b/tests/unittests/xmpp/stub_xmpp.c
index dc630198..3ba7f2b3 100644
--- a/tests/unittests/xmpp/stub_xmpp.c
+++ b/tests/unittests/xmpp/stub_xmpp.c
@@ -64,6 +64,12 @@ GList * jabber_get_available_resources(void)
     return NULL;
 }
 
+gboolean
+jabber_send_stanza(const char *const stanza)
+{
+    return TRUE;
+}
+
 // message functions
 char* message_send_chat(const char * const barejid, const char * const msg)
 {