about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xmpp/iq.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/xmpp/iq.c b/src/xmpp/iq.c
index 8c373f77..75bd73a1 100644
--- a/src/xmpp/iq.c
+++ b/src/xmpp/iq.c
@@ -159,6 +159,8 @@ _iq_handler(xmpp_conn_t *const conn, xmpp_stanza_t *const stanza, void *const us
 {
     log_debug("iq stanza handler fired");
 
+    iq_autoping_timer_cancel(); // reset the autoping timer
+
     char *text;
     size_t text_size;
     xmpp_stanza_to_text(stanza, &text, &text_size);