mirror of
https://github.com/profanity-im/profanity.git
synced 2024-11-03 19:37:16 -05:00
Renamed ui_handle_room_affiliation_set_error -> mucwin_affiliation_set_error
This commit is contained in:
parent
d47da01c00
commit
50765190f7
@ -735,7 +735,7 @@ mucwin_show_role_list(ProfMucWin *mucwin, muc_role_t role)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
ui_handle_room_affiliation_set_error(const char *const roomjid, const char *const jid, const char *const affiliation,
|
mucwin_affiliation_set_error(const char *const roomjid, const char *const jid, const char *const affiliation,
|
||||||
const char *const error)
|
const char *const error)
|
||||||
{
|
{
|
||||||
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
ProfWin *window = (ProfWin*)wins_get_muc(roomjid);
|
||||||
|
@ -158,7 +158,7 @@ void ui_handle_room_config_submit_result_error(const char *const roomjid, const
|
|||||||
void mucwin_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);
|
const char *const error);
|
||||||
void mucwin_handle_affiliation_list(const char *const roomjid, const char *const affiliation, GSList *jids);
|
void mucwin_handle_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,
|
void mucwin_affiliation_set_error(const char *const roomjid, const char *const jid,
|
||||||
const char *const affiliation, const char *const error);
|
const char *const affiliation, const char *const error);
|
||||||
void ui_handle_room_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
|
void ui_handle_room_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
|
||||||
const char *const error);
|
const char *const error);
|
||||||
|
@ -1283,7 +1283,7 @@ _room_affiliation_set_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *con
|
|||||||
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
if (g_strcmp0(type, STANZA_TYPE_ERROR) == 0) {
|
||||||
char *error_message = stanza_get_error_message(stanza);
|
char *error_message = stanza_get_error_message(stanza);
|
||||||
log_debug("Error setting affiliation %s list for room %s, user %s: %s", affiliation_set->privilege, from, affiliation_set->item, error_message);
|
log_debug("Error setting affiliation %s list for room %s, user %s: %s", affiliation_set->privilege, from, affiliation_set->item, error_message);
|
||||||
ui_handle_room_affiliation_set_error(from, affiliation_set->item, affiliation_set->privilege, error_message);
|
mucwin_affiliation_set_error(from, affiliation_set->item, affiliation_set->privilege, error_message);
|
||||||
free(error_message);
|
free(error_message);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -278,7 +278,7 @@ void ui_handle_room_config_submit_result_error(const char * const roomjid, const
|
|||||||
void mucwin_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) {}
|
const char * const error) {}
|
||||||
void mucwin_handle_affiliation_list(const char * const roomjid, const char * const affiliation, GSList *jids) {}
|
void mucwin_handle_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,
|
void mucwin_affiliation_set_error(const char * const roomjid, const char * const jid,
|
||||||
const char * const affiliation, const char * const error) {}
|
const char * const affiliation, const char * const error) {}
|
||||||
void ui_handle_room_role_set_error(const char * const roomjid, const char * const nick, const char * const role,
|
void ui_handle_room_role_set_error(const char * const roomjid, const char * const nick, const char * const role,
|
||||||
const char * const error) {}
|
const char * const error) {}
|
||||||
|
Loading…
Reference in New Issue
Block a user