basic methods and initial integration for #6463

This commit is contained in:
Julian Lam
2018-04-19 16:24:36 -04:00
parent 877b45ab00
commit bfee23adee
8 changed files with 106 additions and 3 deletions

View File

@@ -57,6 +57,7 @@ module.exports = function (Topics) {
function (next) {
posts.getPostsFields(teaserPids, ['pid', 'uid', 'timestamp', 'tid', 'content'], next);
},
async.apply(user.blocks.filter, uid),
function (_postData, next) {
postData = _postData;
var uids = _.uniq(postData.map(function (post) {