Skip to content

strophe.caps.jsonly.js _handleDiscoInfoReply node split errors because there is no node #119

@cpinnix

Description

@cpinnix

A stanza comes through that looks like this:

<query xmlns="http://jabber.org/protocol/disco#info">
   <identity category="client" type="pc" name="imagent"/>
   <feature var="http://jabber.org/protocol/xhtml-im"/>
   <feature var="vcard-temp:x:update"/>
   <feature var="http://jabber.org/protocol/disco#info"/>
   <feature var="jabber:iq:version"/>
   <feature var="http://jabber.org/protocol/si"/>
   <feature var="http://jabber.org/protocol/sipub"/>
   <feature var="http://jabber.org/protocol/bytestreams"/>
   <feature var="apple:profile:efh-transfer"/>
   <feature var="http://jabber.org/protocol/si/profile/file-transfer"/>
   <feature var="apple:profile:transfer-extensions:rsrcfork"/>
   <feature var="http://www.apple.com/xmpp/message-attachments"/>
</query>

Should this code fail more gracefully with some warning logs?

Charlie.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions