feat: #10018 add href

isekai-main
Baris Usakli 3 years ago
parent 0f14f23b2a
commit 06bfec8840

@ -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 });

Loading…
Cancel
Save