summaryrefslogtreecommitdiff
path: root/sleekxmpp/componentxmpp.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2010-10-06 14:03:19 -0400
committerLance Stout <lancestout@gmail.com>2010-10-06 14:03:19 -0400
commite1866ab3287ef184bbbbb4b0a7da33b4c0f6791a (patch)
tree899e70fbffb46612fab0ed992c9dc726979dfe81 /sleekxmpp/componentxmpp.py
parenta7410f2146a912d7302e79b38c49a57a01faee72 (diff)
downloadslixmpp-e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a.tar.gz
slixmpp-e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a.tar.bz2
slixmpp-e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a.tar.xz
slixmpp-e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a.zip
Made first pass at cleaning up ClientXMPP.
Added self.stream_ns to BaseXMPP. Moved connected/disconnected events and logging to XMLStream.
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rw-r--r--sleekxmpp/componentxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index abb20d95..523e75af 100644
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -60,7 +60,7 @@ class ComponentXMPP(BaseXMPP):
self.auto_authorize = None
self.stream_header = "<stream:stream %s %s to='%s'>" % (
'xmlns="jabber:component:accept"',
- 'xmlns:stream="http://etherx.jabber.org/streams"',
+ 'xmlns:stream="%s"' % self.stream_ns,
jid)
self.stream_footer = "</stream:stream>"
self.server_host = host