mirror of
https://github.com/profanity-im/profanity.git
synced 2025-02-02 15:08:15 -05:00
jabber.c: removed xmpp_stop calls
xmpp_stop() stops event loop xmpp_run() that profanity doesn't start.
This commit is contained in:
parent
e0e8110746
commit
5542752afb
@ -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);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user