|
|
@ -389,10 +389,10 @@ module.exports = function (Topics) {
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
function getPostReplies(pids, callerUid, callback) {
|
|
|
|
function getPostReplies(pids, callerUid, callback) {
|
|
|
|
var uids = [];
|
|
|
|
|
|
|
|
var count = 0;
|
|
|
|
var count = 0;
|
|
|
|
var replyPids;
|
|
|
|
var replyPids;
|
|
|
|
async.map(pids, function (pid, _next) {
|
|
|
|
async.map(pids, function (pid, _next) {
|
|
|
|
|
|
|
|
var uids = [];
|
|
|
|
async.waterfall([
|
|
|
|
async.waterfall([
|
|
|
|
function (next) {
|
|
|
|
function (next) {
|
|
|
|
db.getSortedSetRange('pid:' + pid + ':replies', 0, -1, next);
|
|
|
|
db.getSortedSetRange('pid:' + pid + ':replies', 0, -1, next);
|
|
|
|