about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--src/profanity.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/profanity.c b/src/profanity.c
index ac58514e..edec2fb3 100644
--- a/src/profanity.c
+++ b/src/profanity.c
@@ -71,6 +71,7 @@ prof_run(const int disable_tls, char *log_level)
         size = 0;
 
         while(ch != '\n') {
+            conn_status = jabber_get_connection_status();
             if (conn_status == JABBER_CONNECTED) {
                 _handle_idle_time();
             }