mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-22 19:06:22 +00:00
Fixed big in autreconnect, reset timer on each connection attempt
This commit is contained in:
@@ -190,6 +190,7 @@ jabber_process_events(void)
|
||||
if (g_timer_elapsed(reconnect_timer, NULL) > prefs_get_reconnect()) {
|
||||
log_debug("Attempting reconnect as %s", saved_user.jid);
|
||||
jabber_connect(saved_user.jid, saved_user.passwd, saved_user.altdomain);
|
||||
g_timer_start(reconnect_timer);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user