mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-24 20:00:37 +00:00
* namespace tweak for components
This commit is contained in:
parent
44aa526635
commit
a22100bb38
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ class ComponentXMPP(basexmpp, XMLStream):
|
|||
|
||||
def incoming_filter(self, xmlobj):
|
||||
if xmlobj.tag.startswith('{jabber:client}'):
|
||||
xmlobj.tag = xmlobj.tag.replace('jabber:client', 'jabber:component:accept')
|
||||
xmlobj.tag = xmlobj.tag.replace('jabber:client', self.default_ns)
|
||||
for sub in xmlobj:
|
||||
self.incoming_filter(sub)
|
||||
return xmlobj
|
||||
|
|
Loading…
Reference in a new issue