This commit is contained in:
syuilo 2017-11-01 12:44:53 +09:00
parent fbcd84c304
commit bf20c493c5

View File

@ -44,11 +44,13 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
$in: followingIds
},
// TODO
channel_id: {
$or: [{
$or: [{
channel_id: {
$exists: false
}, null]
}
}
}, {
channel_id: null
}]
} as any;
if (sinceId) {
sort._id = 1;