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

@@ -63,6 +63,7 @@ Posts.getPostsByPids = function (pids, uid, callback) {
Posts.parsePost(post, next);
}, next);
},
async.apply(user.blocks.filter, uid),
function (posts, next) {
plugins.fireHook('filter:post.getPosts', { posts: posts, uid: uid }, next);
},