From 85be61d86e903099bf8d21d872c810b0646a3746 Mon Sep 17 00:00:00 2001 From: FineArchs <133759614+FineArchs@users.noreply.github.com> Date: Sat, 18 Jan 2025 08:05:35 +0900 Subject: [PATCH] =?UTF-8?q?=E3=83=AF=E3=83=BC=E3=83=89=E3=83=9F=E3=83=A5?= =?UTF-8?q?=E3=83=BC=E3=83=88=E3=81=AE=E4=BF=9D=E5=AD=98=E5=A4=B1=E6=95=97?= =?UTF-8?q?=E6=99=82=E3=81=ABAPI=E3=82=A8=E3=83=A9=E3=83=BC=E3=81=8C?= =?UTF-8?q?=E6=8F=A1=E3=82=8A=E3=81=A4=E3=81=B6=E3=81=95=E3=82=8C=E3=82=8B?= =?UTF-8?q?=E4=BA=8B=E3=81=8C=E3=81=82=E3=82=8B=E3=81=AE=E3=82=92=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3=20(#15304)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * ワードミュートã®ä¿å˜å¤±æ•—時ã«APIエラーãŒæ¡ã‚Šã¤ã¶ã•ã‚Œã‚‹äº‹ãŒã‚ã‚‹ã®ã‚’ä¿®æ£ * Update CHANGELOG.md --- CHANGELOG.md | 1 + packages/frontend/src/pages/settings/mute-block.vue | 5 ++--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0319cb8c30..8ceb6feab3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -37,6 +37,7 @@ - Fix: 「削除ã—ã¦ç·¨é›†ã€ã§ãƒŽãƒ¼ãƒˆã®å¼•ç”¨ã‚’解除出æ¥ãªã‹ã£ãŸå•é¡Œã‚’ä¿®æ£( #14476 ) - Fix: RSSウィジェットãŒæ£ã—ã表示ã•ã‚Œãªã„å•é¡Œã‚’ä¿®æ£ (Cherry-picked from https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/857) +- Fix: ワードミュートã®ä¿å˜å¤±æ•—時ã«APIエラーãŒæ¡ã‚Šã¤ã¶ã•ã‚Œã‚‹äº‹ãŒã‚ã‚‹ã®ã‚’ä¿®æ£ ### Server - Enhance: pg_bigmãŒåˆ©ç”¨ã§ãるよã†ã€ãƒŽãƒ¼ãƒˆã®æ¤œç´¢ã‚’ILIKE演算åã§ãªãLIKE演算åã§LOWER()ã‚’ã‹ã‘ãŸãƒ†ã‚ストã«å¯¾ã—ã¦è¡Œã†ã‚ˆã†ã« diff --git a/packages/frontend/src/pages/settings/mute-block.vue b/packages/frontend/src/pages/settings/mute-block.vue index 4caa556b15..491676e0d0 100644 --- a/packages/frontend/src/pages/settings/mute-block.vue +++ b/packages/frontend/src/pages/settings/mute-block.vue @@ -142,7 +142,6 @@ import { i18n } from '@/i18n.js'; import { definePageMetadata } from '@/scripts/page-metadata.js'; import MkUserCardMini from '@/components/MkUserCardMini.vue'; import * as os from '@/os.js'; -import { misskeyApi } from '@/scripts/misskey-api.js'; import { instance, infoImageUrl } from '@/instance.js'; import { signinRequired } from '@/account.js'; import MkInfo from '@/components/MkInfo.vue'; @@ -238,11 +237,11 @@ async function toggleBlockItem(item) { } async function saveMutedWords(mutedWords: (string | string[])[]) { - await misskeyApi('i/update', { mutedWords }); + await os.apiWithDialog('i/update', { mutedWords }); } async function saveHardMutedWords(hardMutedWords: (string | string[])[]) { - await misskeyApi('i/update', { hardMutedWords }); + await os.apiWithDialog('i/update', { hardMutedWords }); } const headerActions = computed(() => []); -- GitLab