diff --git a/src/topics/posts.js b/src/topics/posts.js index e166cd52f9..7ecbf1fb86 100644 --- a/src/topics/posts.js +++ b/src/topics/posts.js @@ -240,7 +240,11 @@ module.exports = function (Topics) { const uniquePids = _.uniq(_.flatten(arrayOfReplyPids)); let replyData = await posts.getPostsFields(uniquePids, ['pid', 'uid', 'timestamp']); - replyData = await user.blocks.filter(callerUid, replyData); + const result = await plugins.fireHook('filter:topics.getPostReplies', { + uid: callerUid, + replies: replyData, + }); + replyData = await user.blocks.filter(callerUid, result.replies); const uids = replyData.map(replyData => replyData && replyData.uid);