diff options
author | Lance Stout <lancestout@gmail.com> | 2011-08-29 23:05:14 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2011-08-29 23:05:14 -0700 |
commit | 63e0496c30cde82ed297d1d11cc5e1ada487646b (patch) | |
tree | 531068630ab7c2c10f15a5f820272eea889399db /sleekxmpp/plugins/xep_0060/stanza/pubsub.py | |
parent | 850e3bb99bc2e403e62bef758f451c12af53f4e4 (diff) | |
download | slixmpp-63e0496c30cde82ed297d1d11cc5e1ada487646b.tar.gz slixmpp-63e0496c30cde82ed297d1d11cc5e1ada487646b.tar.bz2 slixmpp-63e0496c30cde82ed297d1d11cc5e1ada487646b.tar.xz slixmpp-63e0496c30cde82ed297d1d11cc5e1ada487646b.zip |
Finish up all major actions in the current XEP-0060.
Still need tests and docs.
Diffstat (limited to 'sleekxmpp/plugins/xep_0060/stanza/pubsub.py')
-rw-r--r-- | sleekxmpp/plugins/xep_0060/stanza/pubsub.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sleekxmpp/plugins/xep_0060/stanza/pubsub.py b/sleekxmpp/plugins/xep_0060/stanza/pubsub.py index d9e55052..7a61a9fe 100644 --- a/sleekxmpp/plugins/xep_0060/stanza/pubsub.py +++ b/sleekxmpp/plugins/xep_0060/stanza/pubsub.py @@ -26,7 +26,7 @@ class Affiliation(ElementBase): interfaces = set(('node', 'affiliation', 'jid')) plugin_attrib_map = {} plugin_tag_map = {} - + def setJid(self, value): self._setAttr('jid', str(value)) @@ -107,7 +107,7 @@ class Items(ElementBase): namespace = 'http://jabber.org/protocol/pubsub' name = 'items' plugin_attrib = 'items' - interfaces = set(('node',)) + interfaces = set(('node', 'max_items')) plugin_attrib_map = {} plugin_tag_map = {} subitem = (Item,) |