diff options
author | Nathan Fritz <fritzy@netflint.net> | 2009-10-29 03:12:32 +0000 |
---|---|---|
committer | Nathan Fritz <fritzy@netflint.net> | 2009-10-29 03:12:32 +0000 |
commit | a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad (patch) | |
tree | 116a2fbffa2fbfc094244dd17c049242747a2c97 /sleekxmpp/componentxmpp.py | |
parent | 44aa52663579bcd1a56d2f13cdc91b1ca2c2b542 (diff) | |
download | slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.gz slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.bz2 slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.tar.xz slixmpp-a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad.zip |
* namespace tweak for components
Diffstat (limited to 'sleekxmpp/componentxmpp.py')
-rwxr-xr-x | sleekxmpp/componentxmpp.py | 2 |
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 |