From 0cd657ff2cedb0780583b45bf50f77c312e30a3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Fri, 7 Apr 2023 10:23:22 -0400 Subject: [PATCH] fix: closes #11447, fix timestamp of fork event --- src/topics/fork.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/topics/fork.js b/src/topics/fork.js index 97b5316656..4693d4afcc 100644 --- a/src/topics/fork.js +++ b/src/topics/fork.js @@ -70,7 +70,7 @@ module.exports = function (Topics) { downvotes: postData.downvotes, }), db.sortedSetsAdd(['topics:votes', `cid:${cid}:tids:votes`], postData.votes, tid), - Topics.events.log(fromTid, { type: 'fork', uid, href: `/topic/${tid}`, timestamp: postData.timestamp }), + Topics.events.log(fromTid, { type: 'fork', uid, href: `/topic/${tid}` }), ]); plugins.hooks.fire('action:topic.fork', { tid: tid, fromTid: fromTid, uid: uid });