Merge tag '2023.10.1' into merge-upstream

This commit is contained in:
riku6460 2023-10-12 20:59:40 +09:00
commit 9c06284ed1
No known key found for this signature in database
GPG key ID: 27414FA27DB94CF6
15 changed files with 287 additions and 60 deletions

View file

@ -150,7 +150,9 @@ export default class extends Endpoint<typeof meta, typeof paramDef> { // eslint-
.leftJoinAndSelect('reply.user', 'replyUser')
.leftJoinAndSelect('renote.user', 'renoteUser');
if (!ps.withChannelNotes) {
if (ps.withChannelNotes) {
if (!isSelf) query.andWhere('channel.isSensitive = false');
} else {
query.andWhere('note.channelId IS NULL');
}