metajack/strophejs-plugins

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

cpinnix opened this issue · 0 comments

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.