xmppjs / xmpp.js

XMPP for JavaScript
ISC License
2.18k stars 372 forks source link

Resource bind sends encoded bind #855

Closed bees1 closed 3 years ago

bees1 commented 3 years ago

On resource bind, the sent bind xmpp is encoded as a string within the iq tag. Called in resource-binding/index.js (line 17). Workaround was in iq/caller.js (_childRequest) changed from: xml('iq', {type, to}, element) to: xml('iq', {type, to}, '').append(element)

sonnyp commented 3 years ago

Please reproduce the issue and share logs with https://github.com/xmppjs/xmpp.js/tree/master/packages/debug