From 06bfec88400ae847d9d2d54e40ccacadc1054bbd Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Fri, 26 Nov 2021 14:42:57 -0500 Subject: [PATCH] feat: #10018 add href --- 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 56d4161b80..8a4ece7bad 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 }) + Topics.events.log(fromTid, { type: 'fork', uid, href: `/topic/${tid}` }) ]); plugins.hooks.fire('action:topic.fork', { tid: tid, fromTid: fromTid, uid: uid });