diff --git a/src/event/server_events.c b/src/event/server_events.c index 433944eb..161e05a8 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -497,7 +497,7 @@ sv_ev_room_occupent_kicked(const char *const room, const char *const nick, const const char *const reason) { muc_roster_remove(room, nick); - ui_room_member_kicked(room, nick, actor, reason); + mucwin_occupant_kicked(room, nick, actor, reason); occupantswin_occupants(room); } diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index c3b3d94f..14f330a2 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -232,7 +232,7 @@ mucwin_occupant_offline(const char *const roomjid, const char *const nick) } void -ui_room_member_kicked(const char *const roomjid, const char *const nick, const char *const actor, +mucwin_occupant_kicked(const char *const roomjid, const char *const nick, const char *const actor, const char *const reason) { ProfWin *window = (ProfWin*)wins_get_muc(roomjid); diff --git a/src/ui/ui.h b/src/ui/ui.h index 50d55428..bdf2c9bf 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -119,7 +119,7 @@ void mucwin_room_disco_info(const char *const roomjid, GSList *identities, GSLis void ui_room_destroyed(const char *const roomjid, const char *const reason, const char *const new_jid, const char *const password); void ui_room_kicked(const char *const roomjid, const char *const actor, const char *const reason); -void ui_room_member_kicked(const char *const roomjid, const char *const nick, const char *const actor, +void mucwin_occupant_kicked(const char *const roomjid, const char *const nick, const char *const actor, const char *const reason); void ui_room_banned(const char *const roomjid, const char *const actor, const char *const reason); void ui_room_member_banned(const char *const roomjid, const char *const nick, const char *const actor, diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index b11fb47d..761b2771 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -219,7 +219,7 @@ void mucwin_room_disco_info(const char * const roomjid, GSList *identities, GSLi void ui_room_destroyed(const char * const roomjid, const char * const reason, const char * const new_jid, const char * const password) {} void ui_room_kicked(const char * const roomjid, const char * const actor, const char * const reason) {} -void ui_room_member_kicked(const char * const roomjid, const char * const nick, const char * const actor, +void mucwin_occupant_kicked(const char * const roomjid, const char * const nick, const char * const actor, const char * const reason) {} void ui_room_banned(const char * const roomjid, const char * const actor, const char * const reason) {} void ui_room_member_banned(const char * const roomjid, const char * const nick, const char * const actor,