mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_handle_room_info_error -> mucwin_room_info_error
This commit is contained in:
parent
94f05ff42f
commit
bb14b19bb1
@ -130,7 +130,7 @@ mucwin_occupant_role_and_affiliation_change(const char *const roomjid, const cha
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_handle_room_info_error(const char *const roomjid, const char *const error)
|
mucwin_room_info_error(const char *const roomjid, const char *const error)
|
||||||
{
|
{
|
||||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||||
if (window) {
|
if (window) {
|
||||||
|
@ -114,7 +114,7 @@ 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 ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role);
|
||||||
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
|
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation);
|
||||||
void ui_handle_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 ui_show_room_disco_info(const char *const roomjid, GSList *identities, GSList *features);
|
void ui_show_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,
|
void ui_room_destroyed(const char *const roomjid, const char *const reason, const char *const new_jid,
|
||||||
const char *const password);
|
const char *const password);
|
||||||
|
@ -1507,7 +1507,7 @@ _room_info_response_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza
|
|||||||
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
||||||
if (cb_data->display) {
|
if (cb_data->display) {
|
||||||
char *error_message = stanza_get_error_message(stanza);
|
char *error_message = stanza_get_error_message(stanza);
|
||||||
ui_handle_room_info_error(cb_data->room, error_message);
|
mucwin_room_info_error(cb_data->room, error_message);
|
||||||
free(error_message);
|
free(error_message);
|
||||||
}
|
}
|
||||||
free(cb_data->room);
|
free(cb_data->room);
|
||||||
|
@ -214,7 +214,7 @@ 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 ui_show_room_role_list(ProfMucWin *mucwin, muc_role_t role) {}
|
||||||
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
|
void ui_show_room_affiliation_list(ProfMucWin *mucwin, muc_affiliation_t affiliation) {}
|
||||||
void ui_handle_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 ui_show_room_disco_info(const char * const roomjid, GSList *identities, GSList *features) {}
|
void ui_show_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,
|
void ui_room_destroyed(const char * const roomjid, const char * const reason, const char * const new_jid,
|
||||||
const char * const password) {}
|
const char * const password) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user