mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-24 23:06:20 +00:00
mucwin_affiliation_list_error takes ProfMucWin
This commit is contained in:
@@ -527,13 +527,13 @@ mucwin_broadcast(ProfMucWin *mucwin, const char *const message)
|
||||
}
|
||||
|
||||
void
|
||||
mucwin_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
mucwin_affiliation_list_error(ProfMucWin *mucwin, const char *const affiliation,
|
||||
const char *const error)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
if (window) {
|
||||
win_vprint(window, '!', 0, NULL, 0, THEME_ERROR, "", "Error retrieving %s list: %s", affiliation, error);
|
||||
}
|
||||
assert(mucwin != NULL);
|
||||
|
||||
ProfWin *window = (ProfWin*)mucwin;
|
||||
win_vprint(window, '!', 0, NULL, 0, THEME_ERROR, "", "Error retrieving %s list: %s", affiliation, error);
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -197,8 +197,7 @@ void mucwin_occupant_presence(ProfMucWin *mucwin, const char *const nick, const
|
||||
void mucwin_update_occupants(const char *const roomjid);
|
||||
void mucwin_show_occupants(const char *const roomjid);
|
||||
void mucwin_hide_occupants(const char *const roomjid);
|
||||
void mucwin_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
const char *const error);
|
||||
void mucwin_affiliation_list_error(ProfMucWin *mucwin, const char *const affiliation, const char *const error);
|
||||
void mucwin_handle_affiliation_list(const char *const roomjid, const char *const affiliation, GSList *jids);
|
||||
void mucwin_affiliation_set_error(const char *const roomjid, const char *const jid,
|
||||
const char *const affiliation, const char *const error);
|
||||
|
||||
Reference in New Issue
Block a user