summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0030/static.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-03-22 20:42:43 -0400
committerLance Stout <lancestout@gmail.com>2011-03-22 20:42:43 -0400
commit4b1fadde4bd87a8763131165701c08a3035005eb (patch)
treef5408e05793dbdad7e4b02427ec67cfece66e432 /sleekxmpp/plugins/xep_0030/static.py
parent86a6b40fd81daa7d0e976dbc63f33544060c75d1 (diff)
downloadslixmpp-4b1fadde4bd87a8763131165701c08a3035005eb.tar.gz
slixmpp-4b1fadde4bd87a8763131165701c08a3035005eb.tar.bz2
slixmpp-4b1fadde4bd87a8763131165701c08a3035005eb.tar.xz
slixmpp-4b1fadde4bd87a8763131165701c08a3035005eb.zip
Updated XEP-0128 plugin to work with the new XEP-0030 plugin.
Required fixing a few bugs in StanzaBase related to iterable substanzas.
Diffstat (limited to 'sleekxmpp/plugins/xep_0030/static.py')
-rw-r--r--sleekxmpp/plugins/xep_0030/static.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0030/static.py b/sleekxmpp/plugins/xep_0030/static.py
index 654a9bd0..7e7f0353 100644
--- a/sleekxmpp/plugins/xep_0030/static.py
+++ b/sleekxmpp/plugins/xep_0030/static.py
@@ -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)