From 65e8beaf3ecdffee6611767d21f78cbc9e73ba8a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B4=87=E5=B3=B0=20=E6=9C=94=E8=8F=AF?= Date: Tue, 3 Dec 2024 18:05:24 +0900 Subject: [PATCH 1/2] =?UTF-8?q?enhance(frontend):=20=E3=83=A6=E3=83=BC?= =?UTF-8?q?=E3=82=B6=E3=83=BC=E3=83=9A=E3=83=BC=E3=82=B8=E3=81=A7=E5=B8=B8?= =?UTF-8?q?=E3=81=AB=E3=83=81=E3=83=A3=E3=83=B3=E3=83=8D=E3=83=AB=E6=8A=95?= =?UTF-8?q?=E7=A8=BF=E3=81=8C=E5=90=AB=E3=81=BE=E3=82=8C=E3=82=8B=E3=82=88?= =?UTF-8?q?=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/user/index.timeline.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/user/index.timeline.vue b/packages/frontend/src/pages/user/index.timeline.vue index 240052f88aac..99f392ed9713 100644 --- a/packages/frontend/src/pages/user/index.timeline.vue +++ b/packages/frontend/src/pages/user/index.timeline.vue @@ -47,7 +47,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', includeSensitiveChannel: $i != null, }, From 526c1ad1cf808ccf3304c8c731818469ed415c6e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=B4=87=E5=B3=B0=20=E6=9C=94=E8=8F=AF?= Date: Tue, 3 Dec 2024 18:06:03 +0900 Subject: [PATCH 2/2] =?UTF-8?q?enhance(frontend):=20=E3=83=8E=E3=83=BC?= =?UTF-8?q?=E3=83=88=E8=A9=B3=E7=B4=B0=E3=81=AE=E5=89=8D=E5=BE=8C=E3=81=AE?= =?UTF-8?q?=E6=8A=95=E7=A8=BF=E3=81=AB=E3=83=81=E3=83=A3=E3=83=B3=E3=83=8D?= =?UTF-8?q?=E3=83=AB=E6=8A=95=E7=A8=BF=E3=82=92=E5=90=AB=E3=82=81=E3=82=8B?= =?UTF-8?q?=E3=82=88=E3=81=86=E3=81=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/note.vue | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/frontend/src/pages/note.vue b/packages/frontend/src/pages/note.vue index 3e1d04bd6dd8..ed02843bf929 100644 --- a/packages/frontend/src/pages/note.vue +++ b/packages/frontend/src/pages/note.vue @@ -63,6 +63,7 @@ import MkClipPreview from '@/components/MkClipPreview.vue'; import { defaultStore } from '@/store.js'; import { pleaseLogin } from '@/scripts/please-login.js'; import { getServerContext } from '@/server-context.js'; +import { $i } from '@/account.js'; const CTX_NOTE = getServerContext('note'); @@ -83,6 +84,8 @@ const prevUserPagination: Paging = { params: computed(() => note.value ? ({ userId: note.value.userId, untilId: note.value.id, + withChannelNotes: true, + includeSensitiveChannel: $i != null, }) : undefined), }; @@ -93,6 +96,8 @@ const nextUserPagination: Paging = { params: computed(() => note.value ? ({ userId: note.value.userId, sinceId: note.value.id, + withChannelNotes: true, + includeSensitiveChannel: $i != null, }) : undefined), };