Moved handle_lost_connection and handle_failed_login to server_events

This commit is contained in:
James Booth
2014-01-05 21:04:30 +00:00
parent da03617e8b
commit 42fd1fb13e
5 changed files with 25 additions and 25 deletions

View File

@@ -249,25 +249,6 @@ prof_handle_gone(const char * const from)
ui_current_page_off();
}
void
prof_handle_failed_login(void)
{
cons_show_error("Login failed.");
log_info("Login failed");
ui_current_page_off();
}
void
prof_handle_lost_connection(void)
{
cons_show_error("Lost connection.");
roster_clear();
muc_clear_invites();
chat_sessions_clear();
ui_disconnected();
ui_current_page_off();
}
void
prof_handle_disconnect(const char * const jid)
{