diff options
author | Lance Stout <lancestout@gmail.com> | 2012-09-25 02:34:51 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-09-25 02:34:51 -0700 |
commit | 671f680bb39f366ad13bf937c7b611f667343314 (patch) | |
tree | def84ad76f93177df92823207ba24da765f9f600 /sleekxmpp/xmlstream/stanzabase.py | |
parent | dfff19ffbfecae9817437121ed1d8bfb9d847800 (diff) | |
download | slixmpp-671f680bb39f366ad13bf937c7b611f667343314.tar.gz slixmpp-671f680bb39f366ad13bf937c7b611f667343314.tar.bz2 slixmpp-671f680bb39f366ad13bf937c7b611f667343314.tar.xz slixmpp-671f680bb39f366ad13bf937c7b611f667343314.zip |
Add support for XEP-0280 Message Carbons
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
-rw-r--r-- | sleekxmpp/xmlstream/stanzabase.py | 7 |
1 files changed, 0 insertions, 7 deletions
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: |