mirror of
https://github.com/profanity-im/profanity.git
synced 2025-07-26 12:14:28 -04:00
Fixed big in autreconnect, reset timer on each connection attempt
This commit is contained in:
parent
bbdc341325
commit
c03a936789
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user