mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-23 05:06:21 +00:00
Moved handle_lost_connection and handle_failed_login to server_events
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user