From e1866ab3287ef184bbbbb4b0a7da33b4c0f6791a Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Wed, 6 Oct 2010 14:03:19 -0400 Subject: Made first pass at cleaning up ClientXMPP. Added self.stream_ns to BaseXMPP. Moved connected/disconnected events and logging to XMLStream. --- sleekxmpp/componentxmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sleekxmpp/componentxmpp.py') 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 = "" % ( 'xmlns="jabber:component:accept"', - 'xmlns:stream="http://etherx.jabber.org/streams"', + 'xmlns:stream="%s"' % self.stream_ns, jid) self.stream_footer = "" self.server_host = host -- cgit v1.2.3