diff --git a/src/topics/create.js b/src/topics/create.js index edb1f1b84d..bc1091bf52 100644 --- a/src/topics/create.js +++ b/src/topics/create.js @@ -64,6 +64,9 @@ module.exports = function (Topics) { 'cid:' + topicData.cid + ':uid:' + topicData.uid + ':tids', ], timestamp, topicData.tid, next); }, + function (next) { + db.sortedSetAdd('cid:' + topicData.cid + ':tids:votes', 0, topicData.tid, next); + }, function (next) { categories.updateRecentTid(topicData.cid, topicData.tid, next); },