mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
feat: #10018 add href
This commit is contained in:
@@ -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 });
|
||||
|
||||
Reference in New Issue
Block a user