Skip to content

Instantly share code, notes, and snippets.

@sebdeckers
Created October 6, 2009 18:58
Show Gist options
  • Select an option

  • Save sebdeckers/203316 to your computer and use it in GitHub Desktop.

Select an option

Save sebdeckers/203316 to your computer and use it in GitHub Desktop.
Message is stripped of XHTML-IM and other data:
SENT: <message xml:lang="en" from="cbas@pandion.im/Pandion" type="groupchat" to="pandion@muc.pandion.im"><body>test</body><html xmlns="http://jabber.org/protocol/xhtml-im"><body style="font-style: normal; font-family: calibri; color: #008080; font-size: 22pt; font-weight: normal" xmlns="http://www.w3.org/1999/xhtml">test</body></html><x xmlns="jisp:x:jep-0038"><name>shinyicons</name></x></message>
RECV: <message xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="pandion@muc.pandion.im/cbas" type="groupchat" to="cbas@pandion.im/Pandion"><body>test</body></message>
MUC does not seem to implement reporting of "Allowable Namespaces" as per XEP-0045:
SENT: <iq to="pandion@muc.pandion.im" type="get" id="abc"><query xmlns="http://jabber.org/protocol/disco#info" node="http://jabber.org/protocol/muc#traffic"></query></iq>
RECV: <iq xmlns="jabber:client" xmlns:stream="http://etherx.jabber.org/streams" from="pandion@muc.pandion.im" type="result" to="cbas@pandion.im/Pandion" id="abc"><query xmlns="http://jabber.org/protocol/disco#info"><identity category="conference" type="text" name=""/><feature var="http://jabber.org/protocol/muc"/><feature var="muc_semianonymous"/><feature var="muc_unmoderated"/><feature var="muc_open"/><feature var="muc_temporary"/><feature var="muc_public"/><feature var="muc_unsecured"/></query></iq>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment