about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/connection.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/connection.c b/src/connection.c
index 27b8bb43..226a00f0 100644
--- a/src/connection.c
+++ b/src/connection.c
@@ -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);
             }
         }
     }