Node.js based forum software built for the modern web
feat: add template to hook
Barış Soner Uşaklı1f3e66010869
diff --git a/src/controllers/accounts/posts.js b/src/controllers/accounts/posts.jsindex 23f226a1e5..93c7d8b917 100644--- a/src/controllers/accounts/posts.js+++ b/src/controllers/accounts/posts.js@@ -160,6 +160,7 @@ async function getPostsFromUserSet(template, req, res, callback) {if (plugins.hasListeners('filter:account.getPostsFromUserSet')) {result = await plugins.hooks.fire('filter:account.getPostsFromUserSet', {req: req,+ template: template,userData: userData,settings: settings,data: data,