Updated XEP-0128 plugin to work with the new XEP-0030 plugin.

Required fixing a few bugs in StanzaBase related to iterable
substanzas.
This commit is contained in:
Lance Stout
2011-03-22 20:42:43 -04:00
parent 86a6b40fd8
commit 4b1fadde4b
9 changed files with 336 additions and 72 deletions

View File

@@ -120,7 +120,8 @@ class StaticDisco(object):
"""
Replace the stored items data for a JID/node combination.
The data parameter is not used.
The data parameter may provided:
items -- A set of items in tuple format.
"""
items = data.get('items', set())
self.add_node(jid, node)