about summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2015-01-11 20:20:17 +0000
committerJames Booth <boothj5@gmail.com>2015-01-11 20:20:17 +0000
commitc16871d143a00eeb04d40e7b4ab20590b8ae93c6 (patch)
treebba5887d69f2c1ac17ad30a11dfade2419ef9418 /tests
parent76bd2ec13f5ffc21ddf91eebf3cb2e6dafe3ad75 (diff)
downloadprofani-tty-c16871d143a00eeb04d40e7b4ab20590b8ae93c6.tar.gz
Added remaining chat states
Diffstat (limited to 'tests')
-rw-r--r--tests/ui/stub_ui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/ui/stub_ui.c b/tests/ui/stub_ui.c
index 5465e68d..b538f27b 100644
--- a/tests/ui/stub_ui.c
+++ b/tests/ui/stub_ui.c
@@ -259,6 +259,12 @@ void ui_group_added(const char * const contact, const char * const group) {}
 void ui_group_removed(const char * const contact, const char * const group) {}
 void ui_chat_win_contact_online(PContact contact, Resource *resource, GDateTime *last_activity) {}
 void ui_chat_win_contact_offline(PContact contact, char *resource, char *status) {}
+gboolean ui_chat_win_exists(const char * const barejid)
+{
+    return TRUE;
+}
+
+void ui_contact_offline(char *barejid, char *resource, char *status) {}
 
 void ui_handle_recipient_not_found(const char * const recipient, const char * const err_msg)
 {