From 63e0496c30cde82ed297d1d11cc5e1ada487646b Mon Sep 17 00:00:00 2001 From: Lance Stout Date: Mon, 29 Aug 2011 23:05:14 -0700 Subject: Finish up all major actions in the current XEP-0060. Still need tests and docs. --- sleekxmpp/plugins/xep_0060/stanza/pubsub.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sleekxmpp/plugins/xep_0060/stanza') 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,) -- cgit v1.2.3