From a22100bb38f1b95e84f7dd15bc24a8c7ac2561ad Mon Sep 17 00:00:00 2001 From: Nathan Fritz Date: Thu, 29 Oct 2009 03:12:32 +0000 Subject: [PATCH] * namespace tweak for components --- sleekxmpp/componentxmpp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index dc80dd9..36a4b7f 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