1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Renamed ui_room_update_occupants -> mucwin_update_occupants

This commit is contained in:
James Booth 2015-11-01 21:55:16 +00:00
parent e4e76ec58b
commit 4697393373
4 changed files with 5 additions and 5 deletions

View File

@ -3171,14 +3171,14 @@ cmd_occupants(ProfWin *window, const char *const command, gchar **args)
if (g_strcmp0(args[0], "show") == 0) {
if (g_strcmp0(args[1], "jid") == 0) {
mucwin->showjid = TRUE;
ui_room_update_occupants(mucwin->roomjid);
mucwin_update_occupants(mucwin->roomjid);
} else {
ui_room_show_occupants(mucwin->roomjid);
}
} else if (g_strcmp0(args[0], "hide") == 0) {
if (g_strcmp0(args[1], "jid") == 0) {
mucwin->showjid = FALSE;
ui_room_update_occupants(mucwin->roomjid);
mucwin_update_occupants(mucwin->roomjid);
} else {
ui_room_hide_occupants(mucwin->roomjid);
}

View File

@ -768,7 +768,7 @@ mucwin_info(ProfMucWin *mucwin)
}
void
ui_room_update_occupants(const char *const roomjid)
mucwin_update_occupants(const char *const roomjid)
{
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
if (window && win_has_active_subwin(window)) {

View File

@ -133,7 +133,7 @@ void mucwin_occupant_nick_change(const char *const roomjid, const char *const ol
void mucwin_nick_change(const char *const roomjid, const char *const nick);
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 mucwin_update_occupants(const char *const roomjid);
void ui_room_show_occupants(const char *const roomjid);
void ui_room_hide_occupants(const char *const roomjid);
void ui_show_roster(void);

View File

@ -235,7 +235,7 @@ void mucwin_occupant_nick_change(const char * const roomjid,
void mucwin_nick_change(const char * const roomjid, const char * const nick) {}
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 mucwin_update_occupants(const char * const roomjid) {}
void ui_room_show_occupants(const char * const roomjid) {}
void ui_room_hide_occupants(const char * const roomjid) {}
void ui_show_roster(void) {}