XmppComponent #209
Replies: 3 comments 2 replies
|
You should pass component JID to XmppComponent constructor, "componentname.domain" is the component JID and component will send it correctly |
|
Thanks for the advice. If the JID is created as If I modify XmppTcpConnection to use the first style in the 'to' field, then it is OK and the server returns the completed handshake. (For info, this is with Tigase) Or is there another JID class for components only that I missed? |
|
Well, in that jid the domain contains componentname, too I also had to make another couple of changes - after the handshake is completed, that is all the authentication that is done (no sasl features are advertised, nor currently supported, https://xmpp.org/extensions/xep-0114.html#proto ). |
Uh oh!
There was an error while loading. Please reload this page.
Hello,
For XmppComponent, the spec requires that the To field be the component name.
( to="componentname.domain" )
Could XmppTcpConnection be modified to use this format when connecting with the 'jabber:component:accept' namespace?
All reactions