# HG changeset patch # User Goffi # Date 1452204195 -3600 # Node ID e5dfb97424d56e31f31c1ae56d2a8e978e2caa63 # Parent 4816f7d55367fe9b6f9e14ba11e5fe83bfb2b3b0 tmp (wokkel.rsm): fixed incorrect behaviour which was adding max_items attribute diff -r 4816f7d55367 -r e5dfb97424d5 wokkel/rsm.py --- a/wokkel/rsm.py Thu Jan 07 22:48:49 2016 +0100 +++ b/wokkel/rsm.py Thu Jan 07 23:03:15 2016 +0100 @@ -171,9 +171,6 @@ @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)