diff options
-rw-r--r-- | src/event/server_events.c | 2 | ||||
-rw-r--r-- | src/ui/mucwin.c | 2 | ||||
-rw-r--r-- | src/ui/ui.h | 2 | ||||
-rw-r--r-- | tests/unittests/ui/stub_ui.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/src/event/server_events.c b/src/event/server_events.c index 7c86885c..de7b479f 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -649,7 +649,7 @@ sv_ev_muc_occupant_online(const char *const room, const char *const nick, const if (updated) { char *muc_status_pref = prefs_get_string(PREF_STATUSES_MUC); if (g_strcmp0(muc_status_pref, "all") == 0) { - ui_room_member_presence(room, nick, show, status); + mucwin_occupant_presence(room, nick, show, status); } prefs_free_string(muc_status_pref); occupantswin_occupants(room); diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 739e5f71..d6d336b9 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -301,7 +301,7 @@ mucwin_occupant_online(const char *const roomjid, const char *const nick, const } void -ui_room_member_presence(const char *const roomjid, const char *const nick, +mucwin_occupant_presence(const char *const roomjid, const char *const nick, const char *const show, const char *const status) { ProfWin *window = (ProfWin*)wins_get_muc(roomjid); diff --git a/src/ui/ui.h b/src/ui/ui.h index b2507c6e..0e2a8ace 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -131,7 +131,7 @@ void mucwin_occupant_online(const char *const roomjid, const char *const nick, c const char *const affiliation, const char *const show, const char *const status); void ui_room_member_nick_change(const char *const roomjid, const char *const old_nick, const char *const nick); void ui_room_nick_change(const char *const roomjid, const char *const nick); -void ui_room_member_presence(const char *const roomjid, const char *const nick, const char *const show, +void mucwin_occupant_presence(const char *const roomjid, const char *const nick, const char *const show, const char *const status); void ui_room_update_occupants(const char *const roomjid); void ui_room_show_occupants(const char *const roomjid); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 39408431..9e6e3979 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -233,7 +233,7 @@ void mucwin_occupant_online(const char * const roomjid, const char * const nick, void ui_room_member_nick_change(const char * const roomjid, const char * const old_nick, const char * const nick) {} void ui_room_nick_change(const char * const roomjid, const char * const nick) {} -void ui_room_member_presence(const char * const roomjid, +void mucwin_occupant_presence(const char * const roomjid, const char * const nick, const char * const show, const char * const status) {} void ui_room_update_occupants(const char * const roomjid) {} void ui_room_show_occupants(const char * const roomjid) {} |