summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2013-05-14 14:28:16 -0700
committerLance Stout <lancestout@gmail.com>2013-05-14 14:28:16 -0700
commitd0bba87cdd6eba3d21c72c36ad15340b8db64c85 (patch)
tree32a3d4cbaca436e87928179bc3158aca1c738432
parent2cc75d4bbd43a21d9e14942b05f663f7e080d789 (diff)
downloadslixmpp-d0bba87cdd6eba3d21c72c36ad15340b8db64c85.tar.gz
slixmpp-d0bba87cdd6eba3d21c72c36ad15340b8db64c85.tar.bz2
slixmpp-d0bba87cdd6eba3d21c72c36ad15340b8db64c85.tar.xz
slixmpp-d0bba87cdd6eba3d21c72c36ad15340b8db64c85.zip
Only remap component namespaces for top level stream elements.
-rw-r--r--sleekxmpp/componentxmpp.py6
1 files changed, 0 insertions, 6 deletions
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):