Skip to content

Commit

Permalink
Merge pull request #24 from EionRobb/master
Browse files Browse the repository at this point in the history
Fix for Prosody servers, which don't have services on subdomains
  • Loading branch information
Junker authored Oct 4, 2021
2 parents d4af654 + c085d10 commit 812715e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/hfu_disco.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}


Expand Down

0 comments on commit 812715e

Please sign in to comment.