mirror of
https://github.com/profanity-im/profanity.git
synced 2024-12-04 14:46:46 -05:00
Renamed ui_handle_room_affiliation_list_error -> mucwin_affiliation_list_error
This commit is contained in:
parent
b26e606061
commit
21d560f068
@ -551,7 +551,7 @@ mucwin_broadcast(const char *const roomjid, const char *const message)
|
||||
}
|
||||
|
||||
void
|
||||
ui_handle_room_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
mucwin_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
const char *const error)
|
||||
{
|
||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||
|
@ -155,7 +155,7 @@ void ui_handle_room_configuration(const char *const roomjid, DataForm *form);
|
||||
void ui_handle_room_configuration_form_error(const char *const roomjid, const char *const message);
|
||||
void ui_handle_room_config_submit_result(const char *const roomjid);
|
||||
void ui_handle_room_config_submit_result_error(const char *const roomjid, const char *const message);
|
||||
void ui_handle_room_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
void mucwin_affiliation_list_error(const char *const roomjid, const char *const affiliation,
|
||||
const char *const error);
|
||||
void ui_handle_room_affiliation_list(const char *const roomjid, const char *const affiliation, GSList *jids);
|
||||
void ui_handle_room_affiliation_set_error(const char *const roomjid, const char *const jid,
|
||||
|
@ -1342,7 +1342,7 @@ _room_affiliation_list_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *co
|
||||
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
||||
char *error_message = stanza_get_error_message(stanza);
|
||||
log_debug("Error retrieving %s list for room %s: %s", affiliation, from, error_message);
|
||||
ui_handle_room_affiliation_list_error(from, affiliation, error_message);
|
||||
mucwin_affiliation_list_error(from, affiliation, error_message);
|
||||
free(error_message);
|
||||
free(affiliation);
|
||||
return 0;
|
||||
|
@ -275,7 +275,7 @@ void ui_handle_room_configuration(const char * const roomjid, DataForm *form) {}
|
||||
void ui_handle_room_configuration_form_error(const char * const roomjid, const char * const message) {}
|
||||
void ui_handle_room_config_submit_result(const char * const roomjid) {}
|
||||
void ui_handle_room_config_submit_result_error(const char * const roomjid, const char * const message) {}
|
||||
void ui_handle_room_affiliation_list_error(const char * const roomjid, const char * const affiliation,
|
||||
void mucwin_affiliation_list_error(const char * const roomjid, const char * const affiliation,
|
||||
const char * const error) {}
|
||||
void ui_handle_room_affiliation_list(const char * const roomjid, const char * const affiliation, GSList *jids) {}
|
||||
void ui_handle_room_affiliation_set_error(const char * const roomjid, const char * const jid,
|
||||
|
Loading…
Reference in New Issue
Block a user