tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute

This commit is contained in:
Goffi 2016-01-07 23:03:15 +01:00
commit ea84a344db

View file

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