From 4910f315d4492b4b80142461bcd854c3c9b6882d Mon Sep 17 00:00:00 2001 From: mesi Date: Mon, 22 Jan 2024 04:43:43 +0000 Subject: [PATCH] =?UTF-8?q?=E3=83=87=E3=82=B0=E3=83=AC=E3=81=AE=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/os.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/src/os.ts b/packages/frontend/src/os.ts index 5292dd3d25..4849bafddb 100644 --- a/packages/frontend/src/os.ts +++ b/packages/frontend/src/os.ts @@ -603,7 +603,7 @@ export function post(props: Record = {}): Promise { // もちろん複数のpost formを開けること自体Misskeyサイドのバグなのだが const route = mainRouter.getCurrentPath().split('/'); - if (route[1] === 'channels') props = { + if (route[1] === 'channels' && !props.channel) props = { ...props, // 本当はチャンネル名や色もほしいけどどっからとってこよう channel: {