mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-11-28 14:58:09 +09:00
Fix bug
This commit is contained in:
parent
fbcd84c304
commit
bf20c493c5
@ -44,11 +44,13 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => {
|
|||||||
$in: followingIds
|
$in: followingIds
|
||||||
},
|
},
|
||||||
// TODO
|
// TODO
|
||||||
channel_id: {
|
$or: [{
|
||||||
$or: [{
|
channel_id: {
|
||||||
$exists: false
|
$exists: false
|
||||||
}, null]
|
}
|
||||||
}
|
}, {
|
||||||
|
channel_id: null
|
||||||
|
}]
|
||||||
} as any;
|
} as any;
|
||||||
if (sinceId) {
|
if (sinceId) {
|
||||||
sort._id = 1;
|
sort._id = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user