From d0bba87cdd6eba3d21c72c36ad15340b8db64c85 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 14 May 2013 14:28:16 -0700 Subject: Only remap component namespaces for top level stream elements. --- sleekxmpp/componentxmpp.py | 6 ------ 1 file changed, 6 deletions(-) (limited to 'sleekxmpp/componentxmpp.py') diff --git a/sleekxmpp/componentxmpp.py b/sleekxmpp/componentxmpp.py index 5284f9d4..bac455e2 100644 --- a/sleekxmpp/componentxmpp.py +++ b/sleekxmpp/componentxmpp.py @@ -123,12 +123,6 @@ class ComponentXMPP(BaseXMPP): """ if xml.tag.startswith('{jabber:client}'): xml.tag = xml.tag.replace('jabber:client', self.default_ns) - - # The incoming_filter call is only made on top level stanza - # elements. So we manually continue filtering on sub-elements. - for sub in xml: - self.incoming_filter(sub) - return xml def start_stream_handler(self, xml): -- cgit v1.2.3