Skip to content

Instantly share code, notes, and snippets.

@hakanai
Last active February 17, 2017 04:48
Show Gist options
  • Select an option

  • Save hakanai/2f9640989275fd6dabc63051fc1de824 to your computer and use it in GitHub Desktop.

Select an option

Save hakanai/2f9640989275fd6dabc63051fc1de824 to your computer and use it in GitHub Desktop.
Slack failing at XMPP
<!-- Trying to list the rooms. It only shows general, even though I'm in at least one more room. -->
<iq type="get" to="conference.[team].xmpp.slack.com" id="ab52a">
<query xmlns="http://jabber.org/protocol/disco#items"/>
</iq>
<iq from="conference.[team].xmpp.slack.com" type="result" to="[user]@[team].xmpp.slack.com/bucket" id="ab52a">
<query xmlns="http://jabber.org/protocol/disco#items">
<item name="general" jid="general@conference.[team].xmpp.slack.com"/>
</query>
</iq>
<!-- Trying to get the capabilities of General so that I can join it. It fails. :/ -->
<iq type="get" to="general@conference.[team].xmpp.slack.com" id="ab53a">
<query xmlns="http://jabber.org/protocol/disco#info"/>
</iq>
<iq from="general@conference.[team].xmpp.slack.com" type="error" id="ab53a">
<error type="cancel">
<service-unavailable xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/>
<text xmlns="urn:ietf:params:xml:ns:xmpp-stanzas" xml:lang="en">Unrecognized request</text>
</error>
</iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment