1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Removed ui_handle_room_join_error

This commit is contained in:
James Booth 2015-11-02 21:11:47 +00:00
parent 2089eebf09
commit 7f5b563a81
4 changed files with 1 additions and 9 deletions

View File

@ -867,12 +867,6 @@ ui_switch_to_room(const char *const roomjid)
ui_focus_win(window);
}
void
ui_handle_room_join_error(const char *const roomjid, const char *const err)
{
cons_show_error("Error joining room %s, reason: %s", roomjid, err);
}
void
ui_room_destroy(const char *const roomjid)
{

View File

@ -109,7 +109,6 @@ void ui_handle_recipient_error(const char *const recipient, const char *const er
void ui_handle_error(const char *const err_msg);
void ui_clear_win_title(void);
void ui_goodbye_title(void);
void ui_handle_room_join_error(const char *const roomjid, const char *const err);
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);

View File

@ -390,7 +390,7 @@ _presence_error_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza,
if (muc_active(fulljid->barejid)) {
muc_leave(fulljid->barejid);
}
ui_handle_room_join_error(fulljid->barejid, error_cond);
cons_show_error("Error joining room %s, reason: %s", fulljid->barejid, error_cond);
jid_destroy(fulljid);
return 1;
}

View File

@ -250,7 +250,6 @@ void ui_handle_error(const char * const err_msg)
void ui_clear_win_title(void) {}
void ui_goodbye_title(void) {}
void ui_handle_room_join_error(const char * const roomjid, const char * const err) {}
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) {}