Skip to content

Node.js based forum software built for the modern web

refactor: change to action:categories.updateRecentTid

Barış Soner Uşaklı6c59683b16f5
diff --git a/src/categories/recentreplies.js b/src/categories/recentreplies.js
index 3da5eeab03..178b32110f 100644
--- a/src/categories/recentreplies.js
+++ b/src/categories/recentreplies.js
@@ -35,7 +35,7 @@ module.exports = function (Categories) {
}
await db.sortedSetAdd('cid:' + cid + ':recent_tids', Date.now(), tid);
- await plugins.fireHook('filter:categories.updateRecentTid', { cid: cid, tid: tid });
+ await plugins.fireHook('action:categories.updateRecentTid', { cid: cid, tid: tid });
};
Categories.updateRecentTidForCid = async function (cid) {