From c085d10c9fe6cf38ff5bf8a28793e460a6c2e51b Mon Sep 17 00:00:00 2001 From: Eion Robb Date: Mon, 4 Oct 2021 23:36:28 +1300 Subject: [PATCH] Fix for Prosody servers, which don't have services on subdomains --- src/hfu_disco.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/hfu_disco.c b/src/hfu_disco.c index 1b1528d..3e625c4 100644 --- a/src/hfu_disco.c +++ b/src/hfu_disco.c @@ -107,6 +107,12 @@ void jabber_hfu_disco_items_server(JabberStream *js) jabber_iq_set_callback(iq, jabber_hfu_disco_server_items_result_cb, NULL); jabber_iq_send(iq); + + + iq = jabber_iq_new_query(js, JABBER_IQ_GET, NS_DISCO_INFO); + xmlnode_set_attrib(iq->node, "to", js->user->domain); + jabber_iq_set_callback(iq, jabber_hfu_disco_info_cb, NULL); + jabber_iq_send(iq); }