From 3bac2a8b860155e794b744424305f3b408f323cf Mon Sep 17 00:00:00 2001 From: ThatOneCalculator Date: Thu, 16 Mar 2023 18:45:35 -0700 Subject: [PATCH] fix calls --- packages/client/src/scripts/get-note-menu.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/client/src/scripts/get-note-menu.ts b/packages/client/src/scripts/get-note-menu.ts index 74d019b5fa..d7d46cdb7b 100644 --- a/packages/client/src/scripts/get-note-menu.ts +++ b/packages/client/src/scripts/get-note-menu.ts @@ -81,18 +81,18 @@ export function getNoteMenu(props: { function muteThread(): void { // show global settings by default - const includingTypes = foundkey.notificationTypes.filter(x => !$i.mutingNotificationTypes.includes(x)); + const includingTypes = misskey.notificationTypes.filter(x => !$i.mutingNotificationTypes.includes(x)); os.popup(defineAsyncComponent(() => import('@/components/MkNotificationSettingWindow.vue')), { includingTypes, showGlobalToggle: false, message: i18n.ts.threadMuteNotificationsDesc, - notificationTypes: foundkey.noteNotificationTypes, + notificationTypes: misskey.noteNotificationTypes, }, { done: async (res) => { const { includingTypes: value } = res; let mutingNotificationTypes: string[] | undefined; if (value != null) { - mutingNotificationTypes = foundkey.noteNotificationTypes.filter(x => !value.includes(x)) + mutingNotificationTypes = misskey.noteNotificationTypes.filter(x => !value.includes(x)) } await os.apiWithDialog('notes/thread-muting/create', {