Updated the client and component examples.
The component example now actually uses a config.xml file for its connection information, and to initialize a roster.
This commit is contained in:
10
examples/config.xml
Normal file
10
examples/config.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user