ComponentXMPP: fix fix_error_ns option
self.default_ns is defined in BaseXMPP.__init__(), so ComponentXMPP._fix_error_ns() has to be called later
This commit is contained in:
parent
6d6fdc6419
commit
f3522eb84b
1 changed files with 1 additions and 1 deletions
|
@ -61,9 +61,9 @@ class ComponentXMPP(BaseXMPP):
|
|||
default_ns = 'jabber:client'
|
||||
else:
|
||||
default_ns = 'jabber:component:accept'
|
||||
BaseXMPP.__init__(self, jid, default_ns)
|
||||
if fix_error_ns:
|
||||
self._fix_error_ns()
|
||||
BaseXMPP.__init__(self, jid, default_ns)
|
||||
|
||||
self.auto_authorize = None
|
||||
self.stream_header = '<stream:stream %s %s to="%s">' % (
|
||||
|
|
Loading…
Reference in a new issue