diff options
author | James Booth <boothj5@gmail.com> | 2015-03-11 23:47:11 +0000 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2015-03-11 23:47:11 +0000 |
commit | 57c7564445bb9b3034be895a709d8ec777188a74 (patch) | |
tree | bc1d30407978e03e48978ccd512e0608e0b12f1d /tests | |
parent | 78becceedb19b1a793fcd3465363501f5468a83d (diff) | |
download | profani-tty-57c7564445bb9b3034be895a709d8ec777188a74.tar.gz |
Show message received text for receipts
Diffstat (limited to 'tests')
-rw-r--r-- | tests/ui/stub_ui.c | 2 | ||||
-rw-r--r-- | tests/xmpp/stub_xmpp.c | 6 |
2 files changed, 5 insertions, 3 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c index 55c67335..4ae08ee7 100644 --- a/tests/ui/stub_ui.c +++ b/tests/ui/stub_ui.c @@ -202,7 +202,7 @@ void ui_disconnected(void) {} void ui_recipient_gone(const char * const barejid, const char * const resource) {} void ui_outgoing_chat_msg(const char * const from, const char * const barejid, - const char * const message) {} + const char * const message, char *id) {} void ui_outgoing_private_msg(const char * const from, const char * const fulljid, const char * const message) {} diff --git a/tests/xmpp/stub_xmpp.c b/tests/xmpp/stub_xmpp.c index 9ca0c2d4..53a01c95 100644 --- a/tests/xmpp/stub_xmpp.c +++ b/tests/xmpp/stub_xmpp.c @@ -58,16 +58,18 @@ GList * jabber_get_available_resources(void) } // message functions -void message_send_chat(const char * const barejid, const char * const msg) +char* message_send_chat(const char * const barejid, const char * const msg) { check_expected(barejid); check_expected(msg); + return NULL; } -void message_send_chat_encrypted(const char * const barejid, const char * const msg) +char* message_send_chat_encrypted(const char * const barejid, const char * const msg) { check_expected(barejid); check_expected(msg); + return NULL; } void message_send_private(const char * const fulljid, const char * const msg) {} |