mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-11-27 14:23:09 +02:00
Fix bug
This commit is contained in:
parent
1c73b08e95
commit
5f968f3f25
1 changed files with 6 additions and 4 deletions
|
@ -44,11 +44,13 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
|
|||
$in: followingIds
|
||||
},
|
||||
// TODO
|
||||
channel_id: {
|
||||
$or: [{
|
||||
channel_id: {
|
||||
$exists: false
|
||||
}, null]
|
||||
}
|
||||
}, {
|
||||
channel_id: null
|
||||
}]
|
||||
} as any;
|
||||
if (sinceId) {
|
||||
sort._id = 1;
|
||||
|
|
Loading…
Reference in a new issue