Skip to content

Node.js based forum software built for the modern web

filter:post.getPostSummaryByPids

psychobunny77dfc7378b53
diff --git a/src/posts.js b/src/posts.js
index 1cb277fabb..745e7f0d2f 100644
--- a/src/posts.js
+++ b/src/posts.js
@@ -343,7 +343,9 @@ var async = require('async'),
next(null, post);
});
- }, callback);
+ }, function(err, posts) {
+ plugins.fireHook('filter:post.getPostSummaryByPids', {posts: posts, uid: uid}, callback);
+ });
});
});
};