(drunk) not even done yet
This commit is contained in:
barisusakli
2014-08-16 21:33:42 -04:00
parent 3011491863
commit ca90afd544
14 changed files with 178 additions and 108 deletions

View File

@@ -418,7 +418,7 @@
});
};
Groups.getLatestMemberPosts = function(groupName, max, callback) {
Groups.getLatestMemberPosts = function(groupName, max, uid, callback) {
Groups.get(groupName, {}, function(err, groupObj) {
if (err || parseInt(groupObj.memberCount, 10) === 0) {
return callback(null, []);
@@ -433,7 +433,7 @@
return callback(err);
}
posts.getPostSummaryByPids(pids, {stripTags: false}, callback);
posts.getPostSummaryByPids(pids, uid, {stripTags: false}, callback);
});
});
};