tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute
This commit is contained in:
parent
f7d64fa8b6
commit
ea84a344db
1 changed files with 0 additions and 3 deletions
|
|
@ -171,9 +171,6 @@ class RSMRequest(object):
|
|||
@return: RSM request element.
|
||||
@rtype: L{domish.Element}
|
||||
"""
|
||||
if element.name == 'pubsub' and hasattr(element, 'items'):
|
||||
element.items.attributes['max_items'] = unicode(self.max)
|
||||
|
||||
set_elt = self.toElement()
|
||||
element.addChild(set_elt)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue