mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-11 01:00:07 +09:00
fix(backend): align visibility check of liked
collection with outbox
This commit is contained in:
parent
7074f80ea2
commit
17da05ca54
@ -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 New Issue
Block a user