|
|
@ -64,6 +64,9 @@ module.exports = function (Topics) {
|
|
|
|
'cid:' + topicData.cid + ':uid:' + topicData.uid + ':tids',
|
|
|
|
'cid:' + topicData.cid + ':uid:' + topicData.uid + ':tids',
|
|
|
|
], timestamp, topicData.tid, next);
|
|
|
|
], timestamp, topicData.tid, next);
|
|
|
|
},
|
|
|
|
},
|
|
|
|
|
|
|
|
function (next) {
|
|
|
|
|
|
|
|
db.sortedSetAdd('cid:' + topicData.cid + ':tids:votes', 0, topicData.tid, next);
|
|
|
|
|
|
|
|
},
|
|
|
|
function (next) {
|
|
|
|
function (next) {
|
|
|
|
categories.updateRecentTid(topicData.cid, topicData.tid, next);
|
|
|
|
categories.updateRecentTid(topicData.cid, topicData.tid, next);
|
|
|
|
},
|
|
|
|
},
|
|
|
|