Mercurial > libervia-web
diff src/server/server.py @ 705:531eacb82e9f
browser and server sides: renamed max to max_ after sat's changeset 1423 (882e5fabf68c)
author | souliane <souliane@mailoo.org> |
---|---|
date | Thu, 04 Jun 2015 12:03:45 +0200 |
parents | 5319110a862c |
children | fe03637fe5a6 |
line wrap: on
line diff
--- a/src/server/server.py Thu Jun 04 12:39:27 2015 +0200 +++ b/src/server/server.py Thu Jun 04 12:03:45 2015 +0200 @@ -321,7 +321,7 @@ @param item_ids: list of microblogs items IDs @return list of microblog data (dict)""" profile = ISATSession(self.session).profile - d = self.asyncBridgeCall("getGroupBlogs", publisher_jid, item_ids, {'max': unicode(max_items)}, False, profile) + d = self.asyncBridgeCall("getGroupBlogs", publisher_jid, item_ids, {'max_': unicode(max_items)}, False, profile) return d def jsonrpc_getMblogsWithComments(self, publisher_jid, item_ids, max_comments=C.RSM_MAX_COMMENTS): @@ -345,7 +345,7 @@ """ profile = ISATSession(self.session).profile if rsm is None: - rsm = {'max': unicode(C.RSM_MAX_ITEMS)} + rsm = {'max_': unicode(C.RSM_MAX_ITEMS)} d = self.asyncBridgeCall("getMassiveGroupBlogs", publishers_type, publishers, rsm, profile) self.sat_host.bridge.massiveSubscribeGroupBlogs(publishers_type, publishers, profile) return d @@ -357,7 +357,7 @@ """ profile = ISATSession(self.session).profile if rsm is None: - rsm = {'max': unicode(C.RSM_MAX_COMMENTS)} + rsm = {'max_': unicode(C.RSM_MAX_COMMENTS)} d = self.asyncBridgeCall("getGroupBlogComments", service, node, rsm, profile) return d