about summary refs log tree commit diff stats
path: root/tests/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-12-27 00:52:34 +0000
committerJames Booth <boothj5@gmail.com>2014-12-27 00:52:34 +0000
commite602c2909e250e8f1dd9e6420585232113fb9ded (patch)
tree47b705ae3c1c17f7d51a2b6ce9a0a92180d6bd1e /tests/xmpp
parent676ed1cbae17f7fff6435db58f20b7dfd8a28552 (diff)
downloadprofani-tty-e602c2909e250e8f1dd9e6420585232113fb9ded.tar.gz
Moved chat states out of xmpp module for message send chat
Diffstat (limited to 'tests/xmpp')
-rw-r--r--tests/xmpp/stub_xmpp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/xmpp/stub_xmpp.c b/tests/xmpp/stub_xmpp.c
index 6a095053..580a6c61 100644
--- a/tests/xmpp/stub_xmpp.c
+++ b/tests/xmpp/stub_xmpp.c
@@ -58,10 +58,13 @@ GList * jabber_get_available_resources(void)
 }
 
 // message functions
-void message_send_chat(const char * const barejid, const char * const msg)
+void message_send_chat(const char * const barejid, const char * const resource, const char * const msg,
+    gboolean send_state)
 {
     check_expected(barejid);
+    check_expected(resource);
     check_expected(msg);
+    check_expected(send_state);
 }
 
 void message_send_private(const char * const fulljid, const char * const msg) {}