summaryrefslogtreecommitdiff
path: root/sleekxmpp/componentxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-26 23:47:17 -0400
committerLance Stout <lancestout@gmail.com>2010-11-17 01:49:19 -0500
commit673545c7e48d86b02f811ad239ed317e4bca0bbc (patch)
tree4a9d99fdb23b5ba0bc168b371a029b353256b54b /sleekxmpp/componentxmpp.py
parent45991e47eeab97f0411139c5b1627ac6350de3d0 (diff)
downloadslixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.gz
slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.bz2
slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.tar.xz
slixmpp-673545c7e48d86b02f811ad239ed317e4bca0bbc.zip
First pass at integrating the new roster manager.
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rw-r--r--sleekxmpp/componentxmpp.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index ae58c5f2..0963c502 100644
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -58,7 +58,7 @@ class ComponentXMPP(BaseXMPP):
default_ns = 'jabber:client'
else:
default_ns = 'jabber:component:accept'
- BaseXMPP.__init__(self, default_ns)
+ BaseXMPP.__init__(self, jid, default_ns)
self.auto_authorize = None
self.stream_header = "<stream:stream %s %s to='%s'>" % (
@@ -68,8 +68,8 @@ class ComponentXMPP(BaseXMPP):
self.stream_footer = "</stream:stream>"
self.server_host = host
self.server_port = port
- self.set_jid(jid)
self.secret = secret
+
self.plugin_config = plugin_config
self.plugin_whitelist = plugin_whitelist
self.is_component = True