From 671f680bb39f366ad13bf937c7b611f667343314 Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Tue, 25 Sep 2012 02:34:51 -0700 Subject: Add support for XEP-0280 Message Carbons --- sleekxmpp/xmlstream/stanzabase.py | 7 ------- 1 file changed, 7 deletions(-) (limited to 'sleekxmpp/xmlstream') diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index a75d7079..4f58953b 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -525,13 +525,6 @@ class ElementBase(object): if reuse and (attrib, lang) in self.plugins: return self.plugins[(attrib, lang)] - if existing_xml is None: - existing_xml = self.xml.find(plugin_class.tag_name()) - - if existing_xml is not None: - if existing_xml.attrib.get('{%s}lang' % XML_NS, default_lang) != lang: - existing_xml = None - plugin = plugin_class(parent=self, xml=existing_xml) if plugin.is_extension: -- cgit v1.2.3