mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-01 04:56:19 +01:00
fix(backend): align visibility check of liked
collection with outbox
This commit is contained in:
parent
7074f80ea2
commit
17da05ca54
1 changed files with 6 additions and 0 deletions
|
@ -400,6 +400,12 @@ export class ActivityPubServerService {
|
|||
.limit(limit + 1)
|
||||
.orderBy('reaction.id', 'DESC')
|
||||
.innerJoinAndSelect('reaction.note', 'note')
|
||||
.andWhere(new Brackets(qb => {
|
||||
qb
|
||||
.where('note.visibility = \'public\'')
|
||||
.orWhere('note.visibility = \'home\'');
|
||||
}))
|
||||
.andWhere('note.localOnly = FALSE')
|
||||
.getMany();
|
||||
|
||||
// 「次のページ」があるかどうか
|
||||
|
|
Loading…
Reference in a new issue