1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-08-18 19:04: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:
Dmitry Podgorny 2013-01-07 22:02:07 +02:00
parent e0e8110746
commit 5542752afb

View File

@ -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);
}