diff --git a/src/groups/posts.js b/src/groups/posts.js index 6f4d65520d..2fc40cac37 100644 --- a/src/groups/posts.js +++ b/src/groups/posts.js @@ -10,7 +10,7 @@ module.exports = function (Groups) { Groups.getLatestMemberPosts = function (groupName, max, uid, callback) { async.waterfall([ function (next) { - Groups.getMembers(groupName, 0, -1, next); + Groups.getMembers(groupName, 0, 100, next); }, function (uids, next) { if (!Array.isArray(uids) || !uids.length) {