diff options
| author | おさむのひと <46447427+samunohito@users.noreply.github.com> | 2023-11-16 16:02:46 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-16 16:02:46 +0900 |
| commit | 1eb769dbe8e52070f8b3e2e0411b4943bd7d69a9 (patch) | |
| tree | b10b2134412e92f0a6ccfa1f2db766fb5ff5b298 /packages/backend/src/server/api/endpoints/notes/local-timeline.ts | |
| parent | enhance(backend): make ftt db fallback configurable (diff) | |
| download | sharkey-1eb769dbe8e52070f8b3e2e0411b4943bd7d69a9.tar.gz sharkey-1eb769dbe8e52070f8b3e2e0411b4943bd7d69a9.tar.bz2 sharkey-1eb769dbe8e52070f8b3e2e0411b4943bd7d69a9.zip | |
LTLに特定条件下でチャンネル投稿が混ざり込む現象の修正 (#12347)
* LTLにチャンネル投稿を含まないように修正
* fix CHANGELOG.md
---------
Co-authored-by: osamu <46447427+sam-osamu@users.noreply.github.com>
Diffstat (limited to 'packages/backend/src/server/api/endpoints/notes/local-timeline.ts')
| -rw-r--r-- | packages/backend/src/server/api/endpoints/notes/local-timeline.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts index 003dae6614..79baa6b285 100644 --- a/packages/backend/src/server/api/endpoints/notes/local-timeline.ts +++ b/packages/backend/src/server/api/endpoints/notes/local-timeline.ts @@ -186,7 +186,7 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint- }, me: MiLocalUser | null) { const query = this.queryService.makePaginationQuery(this.notesRepository.createQueryBuilder('note'), ps.sinceId, ps.untilId) - .andWhere('(note.visibility = \'public\') AND (note.userHost IS NULL)') + .andWhere('(note.visibility = \'public\') AND (note.userHost IS NULL) AND (note.channelId IS NULL)') .innerJoinAndSelect('note.user', 'user') .leftJoinAndSelect('note.reply', 'reply') .leftJoinAndSelect('note.renote', 'renote') |