diff --git a/src/event/server_events.c b/src/event/server_events.c index e6f749be..09fb7642 100644 --- a/src/event/server_events.c +++ b/src/event/server_events.c @@ -580,7 +580,7 @@ sv_ev_muc_self_online(const char *const room, const char *const nick, gboolean c // room configuration required if (config_required) { muc_set_requires_config(room, TRUE); - ui_room_requires_config(room); + mucwin_requires_config(room); } // check for change in role/affiliation diff --git a/src/ui/mucwin.c b/src/ui/mucwin.c index 62f8f48f..29604189 100644 --- a/src/ui/mucwin.c +++ b/src/ui/mucwin.c @@ -446,7 +446,7 @@ mucwin_message(const char *const roomjid, const char *const nick, } void -ui_room_requires_config(const char *const roomjid) +mucwin_requires_config(const char *const roomjid) { ProfWin *window = (ProfWin*)wins_get_muc(roomjid); if (window == NULL) { diff --git a/src/ui/ui.h b/src/ui/ui.h index b00df993..0649e361 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -109,7 +109,7 @@ void mucwin_history(const char *const roomjid, const char *const nick, GDateTime const char *const message); void mucwin_message(const char *const roomjid, const char *const nick, const char *const message); void ui_room_subject(const char *const roomjid, const char *const nick, const char *const subject); -void ui_room_requires_config(const char *const roomjid); +void mucwin_requires_config(const char *const roomjid); void ui_room_destroy(const char *const roomjid); void ui_show_room_info(ProfMucWin *mucwin); void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role); diff --git a/tests/unittests/ui/stub_ui.c b/tests/unittests/ui/stub_ui.c index 56b74780..3ea1ff93 100644 --- a/tests/unittests/ui/stub_ui.c +++ b/tests/unittests/ui/stub_ui.c @@ -209,7 +209,7 @@ void mucwin_history(const char * const roomjid, const char * const nick, void mucwin_message(const char * const roomjid, const char * const nick, const char * const message) {} void ui_room_subject(const char * const roomjid, const char * const nick, const char * const subject) {} -void ui_room_requires_config(const char * const roomjid) {} +void mucwin_requires_config(const char * const roomjid) {} void ui_room_destroy(const char * const roomjid) {} void ui_show_room_info(ProfMucWin *mucwin) {} void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role) {}