diff options
author | Lance Stout <lancestout@gmail.com> | 2010-10-06 14:03:19 -0400 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2010-10-06 14:03:19 -0400 |
commit | e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a (patch) | |
tree | 899e70fbffb46612fab0ed992c9dc726979dfe81 /sleekxmpp/componentxmpp.py | |
parent | a7410f2146a912d7302e79b38c49a57a01faee72 (diff) | |
download | slixmpp-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.py | 2 |
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 |