From 08137c5c1e3ca4b73fcf87c2a7471424bcc79471 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Mon, 31 Aug 2015 16:53:15 -0400 Subject: [PATCH] fixed issue where teasers were being assigned to the wrong chat --- src/messaging.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/messaging.js b/src/messaging.js index 6c6a02e0e6..6f3827a723 100644 --- a/src/messaging.js +++ b/src/messaging.js @@ -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,