
The component example now actually uses a config.xml file for its connection information, and to initialize a roster.
11 lines
254 B
XML
11 lines
254 B
XML
<config xmlns="sleekxmpp:config">
|
|
<jid>component.localhost</jid>
|
|
<secret>ssshh</secret>
|
|
<server>localhost</server>
|
|
<port>8888</port>
|
|
|
|
<query xmlns="jabber:iq:roster">
|
|
<item jid="user@example.com" subscription="both" />
|
|
</query>
|
|
</config>
|