# HG changeset patch # User Goffi # Date 1452203301 -3600 # Node ID 1fa50da8bfbe7960bd658f990a5574c0f10ae3cc # Parent 442303b62a1672bb5b652810baf5d88f14b16f35 plugin XEP-0277: don't use max_comments if it is 0 in getFromManyWthComments bridge callback diff -r 442303b62a16 -r 1fa50da8bfbe src/plugins/plugin_xep_0277.py --- a/src/plugins/plugin_xep_0277.py Thu Jan 07 16:19:43 2016 +0100 +++ b/src/plugins/plugin_xep_0277.py Thu Jan 07 22:48:21 2016 +0100 @@ -799,7 +799,7 @@ publishers_type, publishers = self._checkPublishers(publishers_type, publishers) extra = self._p.parseExtra(extra_dict) extra_comments = self._p.parseExtra(extra_comments_dict) - return self.mbGetFromManyWithComments(publishers_type, publishers, max_items or None, max_comments, + return self.mbGetFromManyWithComments(publishers_type, publishers, max_items or None, max_comments or None, extra.rsm_request, extra.extra, extra_comments.rsm_request,