diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-30 21:57:11 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-30 21:57:11 -0700 |
commit | 13fdab01398ba69de42006064358624a8742b1f5 (patch) | |
tree | 742c6568a421500a25e6d28caf649de9d5075f3a /sleekxmpp/plugins/xep_0060 | |
parent | 2ce617b2ced7975ce3b79e70d90daea2b8b32045 (diff) | |
download | slixmpp-13fdab01398ba69de42006064358624a8742b1f5.tar.gz slixmpp-13fdab01398ba69de42006064358624a8742b1f5.tar.bz2 slixmpp-13fdab01398ba69de42006064358624a8742b1f5.tar.xz slixmpp-13fdab01398ba69de42006064358624a8742b1f5.zip |
Test and fix XEP-0060 delete_node()
Diffstat (limited to 'sleekxmpp/plugins/xep_0060')
-rw-r--r-- | sleekxmpp/plugins/xep_0060/pubsub.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0060/pubsub.py b/sleekxmpp/plugins/xep_0060/pubsub.py index 894ceffa..f9999f73 100644 --- a/sleekxmpp/plugins/xep_0060/pubsub.py +++ b/sleekxmpp/plugins/xep_0060/pubsub.py @@ -262,7 +262,7 @@ class xep_0060(base_plugin): callback -- Optional reference to a stream handler function. Will be executed when a reply stanza is received. """ - iq = self.xmpp.Iq(sto=jid, sfrom=ifrom, stype='get') + iq = self.xmpp.Iq(sto=jid, sfrom=ifrom, stype='set') iq['pubsub_owner']['delete']['node'] = node return iq.send(block=block, callback=callback, timeout=timeout) |