1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-06-23 21:45:30 +00:00

Merge pull request #1343 from DebXWoody/bugfix/1333

Incoming iq stanza - Reset the autoping timer
This commit is contained in:
Michael Vetter 2020-05-29 10:21:51 +02:00 committed by GitHub
commit 8d9cbef1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);