From 6c59683b16f53b6e88ef702da7e91c68e4cfe1c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Mon, 4 May 2020 21:17:05 -0400 Subject: [PATCH] refactor: change to action:categories.updateRecentTid --- src/categories/recentreplies.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {