diff --git a/packages/frontend/src/pages/settings/email.vue b/packages/frontend/src/pages/settings/email.vue
index d452f249b6..d90c86a4ec 100644
--- a/packages/frontend/src/pages/settings/email.vue
+++ b/packages/frontend/src/pages/settings/email.vue
@@ -19,28 +19,6 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.receiveAnnouncementFromInstance }}
-
-
- {{ i18n.ts.emailNotification }}
-
-
-
- {{ i18n.ts._notification._types.mention }}
-
-
- {{ i18n.ts._notification._types.reply }}
-
-
- {{ i18n.ts._notification._types.quote }}
-
-
- {{ i18n.ts._notification._types.follow }}
-
-
- {{ i18n.ts._notification._types.receiveFollowRequest }}
-
-
-
{{ i18n.ts.emailNotSupported }}
@@ -81,28 +59,6 @@ async function saveEmailAddress() {
});
}
-const emailNotification_mention = ref($i.emailNotificationTypes.includes('mention'));
-const emailNotification_reply = ref($i.emailNotificationTypes.includes('reply'));
-const emailNotification_quote = ref($i.emailNotificationTypes.includes('quote'));
-const emailNotification_follow = ref($i.emailNotificationTypes.includes('follow'));
-const emailNotification_receiveFollowRequest = ref($i.emailNotificationTypes.includes('receiveFollowRequest'));
-
-const saveNotificationSettings = () => {
- misskeyApi('i/update', {
- emailNotificationTypes: [
- ...[emailNotification_mention.value ? 'mention' : null],
- ...[emailNotification_reply.value ? 'reply' : null],
- ...[emailNotification_quote.value ? 'quote' : null],
- ...[emailNotification_follow.value ? 'follow' : null],
- ...[emailNotification_receiveFollowRequest.value ? 'receiveFollowRequest' : null],
- ].filter(x => x != null),
- });
-};
-
-watch([emailNotification_mention, emailNotification_reply, emailNotification_quote, emailNotification_follow, emailNotification_receiveFollowRequest], () => {
- saveNotificationSettings();
-});
-
onMounted(() => {
watch(emailAddress, () => {
saveEmailAddress();