fixed issue where teasers were being assigned to the wrong chat

v1.18.x
psychobunny 10 years ago
parent e47895367e
commit 08137c5c1e

@ -256,7 +256,7 @@ var db = require('./database'),
}, },
teasers: function(next) { teasers: function(next) {
var teasers = []; var teasers = [];
async.each(uids, function(fromuid, next) { async.eachSeries(uids, function(fromuid, next) {
Messaging.getMessages({ Messaging.getMessages({
fromuid: fromuid, fromuid: fromuid,
touid: uid, touid: uid,

Loading…
Cancel
Save