mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_show_room_affiliation_list -> mucwin_show_affiliation_list
This commit is contained in:
parent
fa0ed64190
commit
381bce385f
@ -1222,19 +1222,19 @@ _who_room(ProfWin *window, const char *const command, gchar **args)
|
||||
}
|
||||
|
||||
if (g_strcmp0(args[0], "owner") == 0) {
|
||||
ui_show_room_affiliation_list(mucwin, MUC_AFFILIATION_OWNER);
|
||||
mucwin_show_affiliation_list(mucwin, MUC_AFFILIATION_OWNER);
|
||||
return;
|
||||
}
|
||||
if (g_strcmp0(args[0], "admin") == 0) {
|
||||
ui_show_room_affiliation_list(mucwin, MUC_AFFILIATION_ADMIN);
|
||||
mucwin_show_affiliation_list(mucwin, MUC_AFFILIATION_ADMIN);
|
||||
return;
|
||||
}
|
||||
if (g_strcmp0(args[0], "member") == 0) {
|
||||
ui_show_room_affiliation_list(mucwin, MUC_AFFILIATION_MEMBER);
|
||||
mucwin_show_affiliation_list(mucwin, MUC_AFFILIATION_MEMBER);
|
||||
return;
|
||||
}
|
||||
if (g_strcmp0(args[0], "outcast") == 0) {
|
||||
ui_show_room_affiliation_list(mucwin, MUC_AFFILIATION_OUTCAST);
|
||||
mucwin_show_affiliation_list(mucwin, MUC_AFFILIATION_OUTCAST);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
@ -582,7 +582,7 @@ mucwin_handle_affiliation_list(const char *const roomjid, const char *const affi
|
||||
}
|
||||
|
||||
void
|
||||
ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
|
||||
mucwin_show_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation)
|
||||
{
|
||||
ProfWin *window = (ProfWin*) mucwin;
|
||||
GSList *occupants = muc_occupants_by_affiliation(mucwin->roomjid, affiliation);
|
||||
|
@ -113,7 +113,7 @@ 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);
|
||||
void ui_show_room_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_disco_info(const char *const roomjid, GSList *identities, GSList *features);
|
||||
void ui_room_destroyed(const char *const roomjid, const char *const reason, const char *const new_jid,
|
||||
|
@ -213,7 +213,7 @@ 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) {}
|
||||
void ui_show_room_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_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}
|
||||
void ui_room_destroyed(const char * const roomjid, const char * const reason, const char * const new_jid,
|
||||
|
Loading…
Reference in New Issue
Block a user