diff options
author | Lance Stout <lancestout@gmail.com> | 2011-09-01 09:27:10 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-09-01 09:27:10 -0700 |
commit | 002257b8208e343661a68710a3ee936067bfdba0 (patch) | |
tree | d8fb649f623e2020dcd339ee94763dd3f86fb259 /sleekxmpp/plugins/xep_0060/pubsub.py | |
parent | 0af35c2224889a06e5ac25028ee5b489106d201b (diff) | |
download | slixmpp-002257b8208e343661a68710a3ee936067bfdba0.tar.gz slixmpp-002257b8208e343661a68710a3ee936067bfdba0.tar.bz2 slixmpp-002257b8208e343661a68710a3ee936067bfdba0.tar.xz slixmpp-002257b8208e343661a68710a3ee936067bfdba0.zip |
Add tests for retrieving pubsub items.
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/pubsub.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0060/pubsub.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0060/pubsub.py b/sleekxmpp/plugins/xep_0060/pubsub.py index 627ad37a..c0038cee 100644 --- a/sleekxmpp/plugins/xep_0060/pubsub.py +++ b/sleekxmpp/plugins/xep_0060/pubsub.py @@ -334,6 +334,7 @@ class xep_0060(base_plugin): iq = self.xmpp.Iq(sto=jid, sfrom=ifrom, stype='get') item = self.stanza.Item() item['id'] = item_id + iq['pubsub']['items']['node'] = node iq['pubsub']['items'].append(item) return iq.send(block=block, callback=callback, timeout=timeout) |