about summary refs log tree commit diff stats
path: root/src/xmpp/presence.c
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-04 01:19:51 +0100
committerJames Booth <boothj5@gmail.com>2016-05-04 01:19:51 +0100
commitccabc08fef90b568ec08a9cf139ff225b28808d1 (patch)
treef5945c76e944e5aa848f80db7ac238fac356807b /src/xmpp/presence.c
parent2e1eb9210a2ed1d543a63dae442d4bd52f547841 (diff)
downloadprofani-tty-ccabc08fef90b568ec08a9cf139ff225b28808d1.tar.gz
Tidy xmpp headers
Diffstat (limited to 'src/xmpp/presence.c')
-rw-r--r--src/xmpp/presence.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xmpp/presence.c b/src/xmpp/presence.c
index d817965a..4d59326b 100644
--- a/src/xmpp/presence.c
+++ b/src/xmpp/presence.c
@@ -58,6 +58,7 @@
 #include "xmpp/capabilities.h"
 #include "xmpp/connection.h"
 #include "xmpp/stanza.h"
+#include "xmpp/iq.h"
 #include "xmpp/xmpp.h"
 #include "plugins/plugins.h"
 
@@ -668,7 +669,7 @@ _send_caps_request(char *node, char *caps_key, char *id, char *from)
         if (!caps_contains(caps_key)) {
             log_debug("Capabilities not cached for '%s', sending discovery IQ.", from);
             xmpp_stanza_t *iq = stanza_create_disco_info_iq(ctx, id, from, node);
-            send_iq_stanza(iq);
+            iq_send_stanza(iq);
             xmpp_stanza_release(iq);
         } else {
             log_debug("Capabilities already cached, for %s", caps_key);