summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Fritz <fritzy@netflint.net>2009-10-29 03:12:32 +0000
committerNathan Fritz <fritzy@netflint.net>2009-10-29 03:12:32 +0000
commita22100bb38f1b95e84f7dd15bc24a8c7ac2561ad (patch)
tree116a2fbffa2fbfc094244dd17c049242747a2c97
parent44aa52663579bcd1a56d2f13cdc91b1ca2c2b542 (diff)
downloadslixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.gz
slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.bz2
slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.xz
slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.zip
* namespace tweak for components
-rwxr-xr-xsleekxmpp/componentxmpp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py
index dc80dd9f..36a4b7f8 100755
--- a/sleekxmpp/componentxmpp.py
+++ b/sleekxmpp/componentxmpp.py
@@ -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