mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed ui_handle_room_kick_error -> mucwin_kick_error
This commit is contained in:
parent
25020df0f0
commit
a575ab174c
@ -517,7 +517,7 @@ mucwin_subject(const char *const roomjid, const char *const nick, const char *co
|
||||
}
|
||||
|
||||
void
|
||||
ui_handle_room_kick_error(const char *const roomjid, const char *const nick, const char *const error)
|
||||
mucwin_kick_error(const char *const roomjid, const char *const nick, const char *const error)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
if (window == NULL) {
|
||||
|
@ -164,7 +164,7 @@ void ui_handle_room_role_set_error(const char *const roomjid, const char *const
|
||||
const char *const error);
|
||||
void ui_handle_room_role_list_error(const char *const roomjid, const char *const role, const char *const error);
|
||||
void ui_handle_room_role_list(const char *const roomjid, const char *const role, GSList *nicks);
|
||||
void ui_handle_room_kick_error(const char *const roomjid, const char *const nick, const char *const error);
|
||||
void mucwin_kick_error(const char *const roomjid, const char *const nick, const char *const error);
|
||||
void ui_show_form(ProfMucConfWin *confwin);
|
||||
void ui_show_form_field(ProfWin *window, DataForm *form, char *tag);
|
||||
void ui_show_form_help(ProfMucConfWin *confwin);
|
||||
|
@ -1463,7 +1463,7 @@ _room_kick_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza,
|
||||
// handle error responses
|
||||
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
||||
char *error_message = stanza_get_error_message(stanza);
|
||||
ui_handle_room_kick_error(from, nick, error_message);
|
||||
mucwin_kick_error(from, nick, error_message);
|
||||
free(error_message);
|
||||
free(nick);
|
||||
return 0;
|
||||
|
@ -284,7 +284,7 @@ void ui_handle_room_role_set_error(const char * const roomjid, const char * cons
|
||||
const char * const error) {}
|
||||
void ui_handle_room_role_list_error(const char * const roomjid, const char * const role, const char * const error) {}
|
||||
void ui_handle_room_role_list(const char * const roomjid, const char * const role, GSList *nicks) {}
|
||||
void ui_handle_room_kick_error(const char * const roomjid, const char * const nick, const char * const error) {}
|
||||
void mucwin_kick_error(const char * const roomjid, const char * const nick, const char * const error) {}
|
||||
void ui_show_form(ProfMucConfWin *confwin) {}
|
||||
void ui_show_form_field(ProfWin *window, DataForm *form, char *tag) {}
|
||||
void ui_show_form_help(ProfMucConfWin *confwin) {}
|
||||
|
Loading…
Reference in New Issue
Block a user