1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-12-04 14:46:46 -05:00

Renamed ui_handle_room_role_set_error -> mucwin_role_set_error

This commit is contained in:
James Booth 2015-11-01 21:53:12 +00:00
parent 50765190f7
commit 67f8faf645
4 changed files with 4 additions and 4 deletions

View File

@ -745,7 +745,7 @@ mucwin_affiliation_set_error(const char *const roomjid, const char *const jid, c
} }
void void
ui_handle_room_role_set_error(const char *const roomjid, const char *const nick, const char *const role, mucwin_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
const char *const error) const char *const error)
{ {
ProfWin *window = (ProfWin*)wins_get_muc(roomjid); ProfWin *window = (ProfWin*)wins_get_muc(roomjid);

View File

@ -160,7 +160,7 @@ void mucwin_affiliation_list_error(const char *const roomjid, const char *const
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 mucwin_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 mucwin_role_set_error(const char *const roomjid, const char *const nick, const char *const role,
const char *const error); const char *const error);
void mucwin_role_list_error(const char *const roomjid, const char *const role, const char *const error); void mucwin_role_list_error(const char *const roomjid, const char *const role, const char *const error);
void mucwin_handle_role_list(const char *const roomjid, const char *const role, GSList *nicks); void mucwin_handle_role_list(const char *const roomjid, const char *const role, GSList *nicks);

View File

@ -1313,7 +1313,7 @@ _room_role_set_result_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stan
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 role %s list for room %s, user %s: %s", role_set->privilege, from, role_set->item, error_message); log_debug("Error setting role %s list for room %s, user %s: %s", role_set->privilege, from, role_set->item, error_message);
ui_handle_room_role_set_error(from, role_set->item, role_set->privilege, error_message); mucwin_role_set_error(from, role_set->item, role_set->privilege, error_message);
free(error_message); free(error_message);
} }

View File

@ -280,7 +280,7 @@ void mucwin_affiliation_list_error(const char * const roomjid, const char * cons
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 mucwin_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 mucwin_role_set_error(const char * const roomjid, const char * const nick, const char * const role,
const char * const error) {} const char * const error) {}
void mucwin_role_list_error(const char * const roomjid, const char * const role, const char * const error) {} void mucwin_role_list_error(const char * const roomjid, const char * const role, const char * const error) {}
void mucwin_handle_role_list(const char * const roomjid, const char * const role, GSList *nicks) {} void mucwin_handle_role_list(const char * const roomjid, const char * const role, GSList *nicks) {}