about summary refs log tree commit diff stats
path: root/tests/unittests
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-02-02 22:25:55 +0000
committerJames Booth <boothj5@gmail.com>2016-02-02 22:25:55 +0000
commit3ddef99dfe7948a9ba657dc6d34f5213ed0f00c5 (patch)
tree37dd3168c299742226861f5fff469ba7061eb909 /tests/unittests
parent150015fa3dd0238671d11f2c6c3ba677e7aab81f (diff)
downloadprofani-tty-3ddef99dfe7948a9ba657dc6d34f5213ed0f00c5.tar.gz
Handle occupant kicked/banned in private chat wins
Diffstat (limited to 'tests/unittests')
-rw-r--r--tests/unittests/ui/stub_ui.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c
index 015e0024..2e7ec7b1 100644
--- a/tests/unittests/ui/stub_ui.c
+++ b/tests/unittests/ui/stub_ui.c
@@ -168,6 +168,12 @@ void chatwin_outgoing_msg(ProfChatWin *chatwin, const char * const message, char
 void chatwin_outgoing_carbon(ProfChatWin *chatwin, const char * const message) {}
 void privwin_outgoing_msg(ProfPrivateWin *privwin, const char * const message) {}
 
+void privwin_occupant_offline(ProfPrivateWin *privwin) {}
+void privwin_occupant_kicked(ProfPrivateWin *privwin, const char *const actor, const char *const reason) {}
+void privwin_occupant_banned(ProfPrivateWin *privwin, const char *const actor, const char *const reason) {}
+void privwin_occupant_online(ProfPrivateWin *privwin) {}
+void privwin_message_occupant_offline(ProfPrivateWin *privwin) {}
+
 void ui_room_join(const char * const roomjid, gboolean focus) {}
 void ui_switch_to_room(const char * const roomjid) {}