fixed typo
This commit is contained in:
parent
7a15d14c93
commit
9cbc29149f
@ -73,7 +73,7 @@ class ComponentXMPP(basexmpp, XMLStream):
|
|||||||
def incoming_filter(self, xmlobj):
|
def incoming_filter(self, xmlobj):
|
||||||
if xmlobj.tag.startswith('{jabber:client}'):
|
if xmlobj.tag.startswith('{jabber:client}'):
|
||||||
xmlobj.tag = xmlobj.tag.replace('jabber:client', 'jabber:component:accept')
|
xmlobj.tag = xmlobj.tag.replace('jabber:client', 'jabber:component:accept')
|
||||||
for child in xmlobj.children():
|
for child in xmlobj.getchildren():
|
||||||
child = self.incoming_filter(child)
|
child = self.incoming_filter(child)
|
||||||
return xmlobj
|
return xmlobj
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user