Skip to content

Node.js based forum software built for the modern web

fixed issue where teasers were being assigned to the wrong chat

psychobunny08137c5c1e3c
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,