diff options
Diffstat (limited to 'src/connection.c')
-rw-r--r-- | src/connection.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/connection.c b/src/connection.c index f9323dd2..27b8bb43 100644 --- a/src/connection.c +++ b/src/connection.c @@ -740,7 +740,8 @@ _connection_handler(xmpp_conn_t * const conn, xmpp_handler_add(conn, _message_handler, NULL, STANZA_NAME_MESSAGE, NULL, ctx); xmpp_handler_add(conn, _presence_handler, NULL, STANZA_NAME_PRESENCE, NULL, ctx); - xmpp_handler_add(conn, iq_handler, NULL, STANZA_NAME_IQ, NULL, ctx); + + iq_add_handlers(conn, ctx); if (prefs_get_autoping() != 0) { int millis = prefs_get_autoping() * 1000; |