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:
parent
e4e76ec58b
commit
4697393373
@ -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[0], "show") == 0) {
|
||||||
if (g_strcmp0(args[1], "jid") == 0) {
|
if (g_strcmp0(args[1], "jid") == 0) {
|
||||||
mucwin->showjid = TRUE;
|
mucwin->showjid = TRUE;
|
||||||
ui_room_update_occupants(mucwin->roomjid);
|
mucwin_update_occupants(mucwin->roomjid);
|
||||||
} else {
|
} else {
|
||||||
ui_room_show_occupants(mucwin->roomjid);
|
ui_room_show_occupants(mucwin->roomjid);
|
||||||
}
|
}
|
||||||
} else if (g_strcmp0(args[0], "hide") == 0) {
|
} else if (g_strcmp0(args[0], "hide") == 0) {
|
||||||
if (g_strcmp0(args[1], "jid") == 0) {
|
if (g_strcmp0(args[1], "jid") == 0) {
|
||||||
mucwin->showjid = FALSE;
|
mucwin->showjid = FALSE;
|
||||||
ui_room_update_occupants(mucwin->roomjid);
|
mucwin_update_occupants(mucwin->roomjid);
|
||||||
} else {
|
} else {
|
||||||
ui_room_hide_occupants(mucwin->roomjid);
|
ui_room_hide_occupants(mucwin->roomjid);
|
||||||
}
|
}
|
||||||
|
@ -768,7 +768,7 @@ mucwin_info(ProfMucWin *mucwin)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_room_update_occupants(const char *const roomjid)
|
mucwin_update_occupants(const char *const roomjid)
|
||||||
{
|
{
|
||||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||||
if (window && win_has_active_subwin(window)) {
|
if (window && win_has_active_subwin(window)) {
|
||||||
|
@ -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_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,
|
void mucwin_occupant_presence(const char *const roomjid, const char *const nick, const char *const show,
|
||||||
const char *const status);
|
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_show_occupants(const char *const roomjid);
|
||||||
void ui_room_hide_occupants(const char *const roomjid);
|
void ui_room_hide_occupants(const char *const roomjid);
|
||||||
void ui_show_roster(void);
|
void ui_show_roster(void);
|
||||||
|
@ -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_nick_change(const char * const roomjid, const char * const nick) {}
|
||||||
void mucwin_occupant_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) {}
|
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_show_occupants(const char * const roomjid) {}
|
||||||
void ui_room_hide_occupants(const char * const roomjid) {}
|
void ui_room_hide_occupants(const char * const roomjid) {}
|
||||||
void ui_show_roster(void) {}
|
void ui_show_roster(void) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user