diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-06-02 17:30:34 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-06-02 17:30:34 -0400 |
| commit | d4ea917869e809e4d9f1c8e41dc8ad5b155b5f27 (patch) | |
| tree | 1875814cc9f21e81b335abc485c4577ad873d017 /packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts | |
| parent | fix query slowdown caused by unnecessary userHost IS NOT NULL condition in bu... (diff) | |
| download | sharkey-d4ea917869e809e4d9f1c8e41dc8ad5b155b5f27.tar.gz sharkey-d4ea917869e809e4d9f1c8e41dc8ad5b155b5f27.tar.bz2 sharkey-d4ea917869e809e4d9f1c8e41dc8ad5b155b5f27.zip | |
remove incorrect requireSigninToViewContents check in bubble-timeline.ts
Diffstat (limited to 'packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts b/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts index ef3502de77..1a73f3c7f7 100644 --- a/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/bubble-timeline.ts @@ -83,7 +83,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- ps.sinceId, ps.untilId, ps.sinceDate, ps.untilDate) .andWhere('note.visibility = \'public\'') .andWhere('note.channelId IS NULL') - .andWhere('userInstance.isBubbled = true') // This comes from generateBlockedHostQueryForNote below .innerJoinAndSelect('note.user', 'user') .leftJoinAndSelect('note.reply', 'reply') .leftJoinAndSelect('note.renote', 'renote') @@ -94,7 +93,6 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- if (me) this.queryService.generateMutedUserQueryForNotes(query, me); if (me) this.queryService.generateBlockedUserQueryForNotes(query, me); if (me) this.queryService.generateMutedUserRenotesQueryForNotes(query, me); - if (!me) query.andWhere('user.requireSigninToViewContents = false'); if (ps.withFiles) { query.andWhere('note.fileIds != \'{}\''); |