diff --git a/src/topics/tools.js b/src/topics/tools.js index b91ddebd79..2fdd0d445c 100644 --- a/src/topics/tools.js +++ b/src/topics/tools.js @@ -138,7 +138,8 @@ module.exports = function (Topics) { await Promise.all(promises); - topicData.isPinned = pin; + topicData.isPinned = pin; // deprecate in v2.0 + topicData.pinned = pin; plugins.fireHook('action:topic.pin', { topic: _.clone(topicData), uid: uid });