Skip to content

Node.js based forum software built for the modern web

Limiting group members here

psychobunny5b4dcfafe23c
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) {