mirror of
https://github.com/profanity-im/profanity.git
synced 2024-09-08 19:34:14 -04: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);
|
assert(reconnect_timer == NULL);
|
||||||
reconnect_timer = g_timer_new();
|
reconnect_timer = g_timer_new();
|
||||||
}
|
}
|
||||||
xmpp_stop(ctx);
|
|
||||||
|
|
||||||
// login attempt failed
|
// login attempt failed
|
||||||
} else if (jabber_conn.conn_status != JABBER_DISCONNECTING) {
|
} else if (jabber_conn.conn_status != JABBER_DISCONNECTING) {
|
||||||
@ -799,7 +798,6 @@ _connection_handler(xmpp_conn_t * const conn,
|
|||||||
prof_handle_failed_login();
|
prof_handle_failed_login();
|
||||||
jabber_free_resources();
|
jabber_free_resources();
|
||||||
} else {
|
} else {
|
||||||
xmpp_stop(ctx);
|
|
||||||
if (prefs_get_reconnect() != 0) {
|
if (prefs_get_reconnect() != 0) {
|
||||||
g_timer_start(reconnect_timer);
|
g_timer_start(reconnect_timer);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user