This commit is contained in:
mattyatea 2024-01-06 14:49:59 +09:00
parent 76cc50e38a
commit ce8d9871b1
1 changed files with 2 additions and 2 deletions

View File

@ -212,8 +212,8 @@ export class QueryService {
// または 自分自身
.orWhere('note.userId = :meId')
// または 自分宛て
.orWhere(':meId IN (note.visibleUserIds)')
.orWhere(':meId IN (note.mentions)')
.orWhere(':meId IN (SELECT unnest(note.visibleUserIds))')
.orWhere(':meId IN (SELECT unnest(note.mentions))')
.orWhere(new Brackets(qb => {
qb
// または フォロワー宛ての投稿であり、