Finish up all major actions in the current XEP-0060.

Still need tests and docs.
This commit is contained in:
Lance Stout
2011-08-29 23:05:14 -07:00
parent 850e3bb99b
commit 63e0496c30
2 changed files with 92 additions and 23 deletions

View File

@@ -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,)