Skip to content

Node.js based forum software built for the modern web

fix: closes #11447, fix timestamp of fork event

Barış Soner Uşaklı0cd657ff2ced
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 });