fixed issue where teasers were being assigned to the wrong chat

This commit is contained in:
psychobunny
2015-08-31 16:53:15 -04:00
parent e47895367e
commit 08137c5c1e

View File

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