mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_show_room_role_list -> mucwin_show_role_list
This commit is contained in:
parent
556985ec39
commit
d47da01c00
@ -1209,15 +1209,15 @@ _who_room(ProfWin *window, const char *const command, gchar **args)
|
|||||||
// role or affiliation filter
|
// role or affiliation filter
|
||||||
} else {
|
} else {
|
||||||
if (g_strcmp0(args[0], "moderator") == 0) {
|
if (g_strcmp0(args[0], "moderator") == 0) {
|
||||||
ui_show_room_role_list(mucwin, MUC_ROLE_MODERATOR);
|
mucwin_show_role_list(mucwin, MUC_ROLE_MODERATOR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (g_strcmp0(args[0], "participant") == 0) {
|
if (g_strcmp0(args[0], "participant") == 0) {
|
||||||
ui_show_room_role_list(mucwin, MUC_ROLE_PARTICIPANT);
|
mucwin_show_role_list(mucwin, MUC_ROLE_PARTICIPANT);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (g_strcmp0(args[0], "visitor") == 0) {
|
if (g_strcmp0(args[0], "visitor") == 0) {
|
||||||
ui_show_room_role_list(mucwin, MUC_ROLE_VISITOR);
|
mucwin_show_role_list(mucwin, MUC_ROLE_VISITOR);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -681,7 +681,7 @@ mucwin_handle_role_list(const char *const roomjid, const char *const role, GSLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role)
|
mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role)
|
||||||
{
|
{
|
||||||
ProfWin *window = (ProfWin*) mucwin;
|
ProfWin *window = (ProfWin*) mucwin;
|
||||||
GSList *occupants = muc_occupants_by_role(mucwin->roomjid, role);
|
GSList *occupants = muc_occupants_by_role(mucwin->roomjid, role);
|
||||||
|
@ -112,7 +112,7 @@ void mucwin_subject(const char *const roomjid, const char *const nick, const cha
|
|||||||
void mucwin_requires_config(const char *const roomjid);
|
void mucwin_requires_config(const char *const roomjid);
|
||||||
void ui_room_destroy(const char *const roomjid);
|
void ui_room_destroy(const char *const roomjid);
|
||||||
void ui_show_room_info(ProfMucWin *mucwin);
|
void ui_show_room_info(ProfMucWin *mucwin);
|
||||||
void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role);
|
void mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role);
|
||||||
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
|
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
|
||||||
void mucwin_room_info_error(const char *const roomjid, const char *const error);
|
void mucwin_room_info_error(const char *const roomjid, const char *const error);
|
||||||
void mucwin_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);
|
void mucwin_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);
|
||||||
|
@ -212,7 +212,7 @@ void mucwin_subject(const char * const roomjid, const char * const nick, const c
|
|||||||
void mucwin_requires_config(const char * const roomjid) {}
|
void mucwin_requires_config(const char * const roomjid) {}
|
||||||
void ui_room_destroy(const char * const roomjid) {}
|
void ui_room_destroy(const char * const roomjid) {}
|
||||||
void ui_show_room_info(ProfMucWin *mucwin) {}
|
void ui_show_room_info(ProfMucWin *mucwin) {}
|
||||||
void ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role) {}
|
void mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role) {}
|
||||||
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
|
void mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
|
||||||
void mucwin_room_info_error(const char * const roomjid, const char * const error) {}
|
void mucwin_room_info_error(const char * const roomjid, const char * const error) {}
|
||||||
void mucwin_room_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}
|
void mucwin_room_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user