summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0060/stanza
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-31 21:09:25 -0700
committerLance Stout <lancestout@gmail.com>2011-08-31 21:09:25 -0700
commit3f9ca0366bc7728cec4572db9cbdc6fd7ac90140 (patch)
tree99363602d57b81b1deca1f286babcea262b106d5 /sleekxmpp/plugins/xep_0060/stanza
parentb68785e19ebdbf6d3eb638a0fa2b612e9b404868 (diff)
downloadslixmpp-3f9ca0366bc7728cec4572db9cbdc6fd7ac90140.tar.gz
slixmpp-3f9ca0366bc7728cec4572db9cbdc6fd7ac90140.tar.bz2
slixmpp-3f9ca0366bc7728cec4572db9cbdc6fd7ac90140.tar.xz
slixmpp-3f9ca0366bc7728cec4572db9cbdc6fd7ac90140.zip
Add test for purging a pubsub node.
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/stanza')
-rw-r--r--sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
index 570c9c4a..fd8ec1f2 100644
--- a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
+++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
@@ -72,7 +72,7 @@ registerStanzaPlugin(OwnerConfigure, xep_0004.Form)
class OwnerDefault(OwnerConfigure):
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('node', 'config'))
+ interfaces = set(('node',))
plugin_attrib_map = {}
plugin_tag_map = {}
@@ -93,6 +93,7 @@ registerStanzaPlugin(PubsubOwner, OwnerDelete)
class OwnerPurge(ElementBase, OptionalSetting):
namespace = 'http://jabber.org/protocol/pubsub#owner'
name = 'purge'
+ interfaces = set(('node',))
plugin_attrib = name
plugin_attrib_map = {}
plugin_tag_map = {}