about summary refs log tree commit diff stats
path: root/tests/xmpp
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-04 23:40:10 +0000
committerJames Booth <boothj5@gmail.com>2015-01-04 23:40:10 +0000
commit8326c8b3a21fd4a6aa415f92584aebedd51b01d9 (patch)
tree74c4477596daed645d9af2bbb3223f9c42ca2aca /tests/xmpp
parent42a5c431c777ab22c2187bb6f50a62ef304d8d6b (diff)
downloadprofani-tty-8326c8b3a21fd4a6aa415f92584aebedd51b01d9.tar.gz
Refactored chat session handling on sending message
Diffstat (limited to 'tests/xmpp')
-rw-r--r--tests/xmpp/stub_xmpp.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/tests/xmpp/stub_xmpp.c b/tests/xmpp/stub_xmpp.c
index 580a6c61..a6058058 100644
--- a/tests/xmpp/stub_xmpp.c
+++ b/tests/xmpp/stub_xmpp.c
@@ -58,13 +58,10 @@ GList * jabber_get_available_resources(void)
 }
 
 // message functions
-void message_send_chat(const char * const barejid, const char * const resource, const char * const msg,
-    gboolean send_state)
+void message_send_chat(const char * const barejid, const char * const msg)
 {
     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) {}
@@ -218,4 +215,4 @@ void roster_send_add_new(const char * const barejid, const char * const name)
 void roster_send_remove(const char * const barejid)
 {
     check_expected(barejid);
-}
\ No newline at end of file
+}