mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
fixed #1980 -- missing pass-through
This commit is contained in:
@@ -194,7 +194,11 @@ var db = require('./database'),
|
||||
}
|
||||
},
|
||||
function(mids, next) {
|
||||
if (typeof mids !== 'boolean') {
|
||||
db.getObjects(['message:' + mids[0], 'message:' + mids[1]], next);
|
||||
} else {
|
||||
next(null, mids);
|
||||
}
|
||||
},
|
||||
function(messages, next) {
|
||||
if (typeof messages !== 'boolean') {
|
||||
|
||||
Reference in New Issue
Block a user