diff options
author | Lance Stout <lancestout@gmail.com> | 2012-10-19 00:15:21 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2012-10-19 00:15:21 -0700 |
commit | 0d448b82214ed8bed3477db375799ae8399d0393 (patch) | |
tree | cad4b16d9c1622d858d70e6aae4dece230566734 /sleekxmpp/xmlstream/stanzabase.py | |
parent | 77f2a339e1626501a1df388050f09342d7bbcd1d (diff) | |
parent | e6c95f0a2acfd56ad47f60d9576a0db5458ed118 (diff) | |
download | slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.gz slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.bz2 slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.tar.xz slixmpp-0d448b82214ed8bed3477db375799ae8399d0393.zip |
Merge branch 'master' into develop
Diffstat (limited to 'sleekxmpp/xmlstream/stanzabase.py')
-rw-r--r-- | sleekxmpp/xmlstream/stanzabase.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sleekxmpp/xmlstream/stanzabase.py b/sleekxmpp/xmlstream/stanzabase.py index 08ce702a..122d7eb4 100644 --- a/sleekxmpp/xmlstream/stanzabase.py +++ b/sleekxmpp/xmlstream/stanzabase.py @@ -1217,6 +1217,10 @@ class ElementBase(object): if item.__class__ in self.plugin_iterables: if item.__class__.plugin_multi_attrib: self.init_plugin(item.__class__.plugin_multi_attrib) + elif item.__class__ == self.plugin_tag_map.get(item.tag_name(), None): + self.init_plugin(item.plugin_attrib, + existing_xml=item.xml, + reuse=False) return self def appendxml(self, xml): |