summaryrefslogtreecommitdiff
path: root/src/server/api/endpoints/notes/user-list-timeline.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/api/endpoints/notes/user-list-timeline.ts')
-rw-r--r--src/server/api/endpoints/notes/user-list-timeline.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/server/api/endpoints/notes/user-list-timeline.ts b/src/server/api/endpoints/notes/user-list-timeline.ts
index 1e9af55f1d..040f017fd5 100644
--- a/src/server/api/endpoints/notes/user-list-timeline.ts
+++ b/src/server/api/endpoints/notes/user-list-timeline.ts
@@ -130,11 +130,11 @@ export default define(meta, async (ps, user) => {
const query = makePaginationQuery(Notes.createQueryBuilder('note'), ps.sinceId, ps.untilId)
.andWhere(`note.userId IN (${ listQuery.getQuery() })`)
- .innerJoinAndSelect('note.user', 'user')
- .innerJoinAndSelect('note.reply', 'reply')
- .innerJoinAndSelect('note.renote', 'renote')
- .innerJoinAndSelect('reply.user', 'replyUser')
- .innerJoinAndSelect('renote.user', 'renoteUser')
+ .leftJoinAndSelect('note.user', 'user')
+ .leftJoinAndSelect('note.reply', 'reply')
+ .leftJoinAndSelect('note.renote', 'renote')
+ .leftJoinAndSelect('reply.user', 'replyUser')
+ .leftJoinAndSelect('renote.user', 'renoteUser')
.setParameters(listQuery.getParameters());
generateVisibilityQuery(query, user);