summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0060/stanza
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-08-31 14:05:29 -0700
committerLance Stout <lancestout@gmail.com>2011-08-31 14:05:29 -0700
commit3623a7a16ab36bfc5f0a9c8e74dd38d9c94b4246 (patch)
tree2bf3dc9866f4a934b41b2365e77d7d1fdc528426 /sleekxmpp/plugins/xep_0060/stanza
parentcc504ab07c984b19a4e959656ffbd657ca80c949 (diff)
downloadslixmpp-3623a7a16ab36bfc5f0a9c8e74dd38d9c94b4246.tar.gz
slixmpp-3623a7a16ab36bfc5f0a9c8e74dd38d9c94b4246.tar.bz2
slixmpp-3623a7a16ab36bfc5f0a9c8e74dd38d9c94b4246.tar.xz
slixmpp-3623a7a16ab36bfc5f0a9c8e74dd38d9c94b4246.zip
More pubsub unit tests!
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/stanza')
-rw-r--r--sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py10
1 files changed, 2 insertions, 8 deletions
diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
index 55dd59d1..570c9c4a 100644
--- a/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
+++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub_owner.py
@@ -63,18 +63,12 @@ class OwnerConfigure(Configure):
name = 'configure'
plugin_attrib = 'configure'
namespace = 'http://jabber.org/protocol/pubsub#owner'
- interfaces = set(('node', 'config'))
+ interfaces = set(('node',))
plugin_attrib_map = {}
plugin_tag_map = {}
- def getConfig(self):
- return self['form']
-
- def setConfig(self, value):
- self['form'].setStanzaValues(value.getStanzaValues())
- return self
-
registerStanzaPlugin(PubsubOwner, OwnerConfigure)
+registerStanzaPlugin(OwnerConfigure, xep_0004.Form)
class OwnerDefault(OwnerConfigure):
namespace = 'http://jabber.org/protocol/pubsub#owner'