enhance(frontend): チャンネル投稿をユーザーページと前後ノートに表示する (#15532)

* enhance(frontend): ユーザーページで常にチャンネル投稿が含まれるように

* enhance(frontend): ノート詳細の前後の投稿にチャンネル投稿を含めるように

* ログイン有無の削除
This commit is contained in:
鴇峰 朔華 2025-03-03 17:28:29 +09:00 committed by GitHub
parent bbe404a0b2
commit a4711ab4c1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 1 deletions

View File

@ -87,6 +87,7 @@ const prevUserPagination: Paging = {
params: computed(() => note.value ? ({
userId: note.value.userId,
untilId: note.value.id,
withChannelNotes: true,
}) : undefined),
};
@ -97,6 +98,8 @@ const nextUserPagination: Paging = {
params: computed(() => note.value ? ({
userId: note.value.userId,
sinceId: note.value.id,
withChannelNotes: true,
includeSensitiveChannel: $i != null,
}) : undefined),
};

View File

@ -43,7 +43,7 @@ const pagination = computed(() => tab.value === 'featured' ? {
userId: props.user.id,
withRenotes: tab.value === 'all',
withReplies: tab.value === 'all',
withChannelNotes: tab.value === 'all',
withChannelNotes: true,
withFiles: tab.value === 'files',
},
});