jabber.c: removed xmpp_stop calls
xmpp_stop() stops event loop xmpp_run() that profanity doesn't start.
This commit is contained in:
@@ -791,7 +791,6 @@ _connection_handler(xmpp_conn_t * const conn,
|
||||
assert(reconnect_timer == NULL);
|
||||
reconnect_timer = g_timer_new();
|
||||
}
|
||||
xmpp_stop(ctx);
|
||||
|
||||
// login attempt failed
|
||||
} else if (jabber_conn.conn_status != JABBER_DISCONNECTING) {
|
||||
@@ -799,7 +798,6 @@ _connection_handler(xmpp_conn_t * const conn,
|
||||
prof_handle_failed_login();
|
||||
jabber_free_resources();
|
||||
} else {
|
||||
xmpp_stop(ctx);
|
||||
if (prefs_get_reconnect() != 0) {
|
||||
g_timer_start(reconnect_timer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user