diff --git a/src/api/endpoints/posts/timeline.ts b/src/api/endpoints/posts/timeline.ts index 314e99234..5fe820001 100644 --- a/src/api/endpoints/posts/timeline.ts +++ b/src/api/endpoints/posts/timeline.ts @@ -42,6 +42,12 @@ module.exports = (params, user, app) => new Promise(async (res, rej) => { const query = { user_id: { $in: followingIds + }, + // TODO + channel_id: { + $or: [{ + $exists: false + }, null] } } as any; if (sinceId) {