mucwin_room_info_error takes ProfMucWin
This commit is contained in:
@@ -143,13 +143,13 @@ mucwin_occupant_role_and_affiliation_change(ProfMucWin *mucwin, const char *cons
|
||||
}
|
||||
|
||||
void
|
||||
mucwin_room_info_error(const char *const roomjid, const char *const error)
|
||||
mucwin_room_info_error(ProfMucWin *mucwin, const char *const error)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
if (window) {
|
||||
win_vprint(window, '!', 0, NULL, 0, 0, "", "Room info request failed: %s", error);
|
||||
win_print(window, '-', 0, NULL, 0, 0, "", "");
|
||||
}
|
||||
assert(mucwin != NULL);
|
||||
|
||||
ProfWin *window = (ProfWin*)mucwin;
|
||||
win_vprint(window, '!', 0, NULL, 0, 0, "", "Room info request failed: %s", error);
|
||||
win_print(window, '-', 0, NULL, 0, 0, "", "");
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -181,7 +181,7 @@ void mucwin_requires_config(const char *const roomjid);
|
||||
void mucwin_info(ProfMucWin *mucwin);
|
||||
void mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role);
|
||||
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(ProfMucWin *mucwin, const char *const error);
|
||||
void mucwin_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);
|
||||
void mucwin_occupant_kicked(const char *const roomjid, const char *const nick, const char *const actor,
|
||||
const char *const reason);
|
||||
|
||||
Reference in New Issue
Block a user