summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorHazelnoot <acomputerdog@gmail.com>2024-12-12 17:34:29 +0000
committerHazelnoot <acomputerdog@gmail.com>2024-12-12 17:34:29 +0000
commitd18317a7c8ba7293ff6bdd056ed72aac391b453c (patch)
tree50a8b6dec32a152fa60f95b7ecf903d486631b4a /packages/frontend/src
parentmerge: Fixed Emoji in usernames of profile's owner not visible in the Pages ... (diff)
parentfix WebhookTestService.ts (diff)
downloadsharkey-d18317a7c8ba7293ff6bdd056ed72aac391b453c.tar.gz
sharkey-d18317a7c8ba7293ff6bdd056ed72aac391b453c.tar.bz2
sharkey-d18317a7c8ba7293ff6bdd056ed72aac391b453c.zip
merge: Add "enable RSS" user privacy toggle (resolves #826) (!806)
View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/806 Closes #826 Approved-by: dakkar <dakkar@thenautilus.net> Approved-by: Marie <github@yuugi.dev>
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/settings/privacy.vue6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/frontend/src/pages/settings/privacy.vue b/packages/frontend/src/pages/settings/privacy.vue
index b155d6e316..dccfb584ae 100644
--- a/packages/frontend/src/pages/settings/privacy.vue
+++ b/packages/frontend/src/pages/settings/privacy.vue
@@ -43,6 +43,10 @@ SPDX-License-Identifier: AGPL-3.0-only
{{ i18n.ts.makeExplorable }}
<template #caption>{{ i18n.ts.makeExplorableDescription }}</template>
</MkSwitch>
+ <MkSwitch v-model="enableRss" @update:modelValue="save()">
+ {{ i18n.ts.enableRss }}
+ <template #caption>{{ i18n.ts.enableRssDescription }}</template>
+ </MkSwitch>
<FormSection>
<div class="_gaps_m">
@@ -89,6 +93,7 @@ const isLocked = ref($i.isLocked);
const autoAcceptFollowed = ref($i.autoAcceptFollowed);
const noCrawle = ref($i.noCrawle);
const noindex = ref($i.noindex);
+const enableRss = ref($i.enableRss);
const isExplorable = ref($i.isExplorable);
const hideOnlineStatus = ref($i.hideOnlineStatus);
const publicReactions = ref($i.publicReactions);
@@ -106,6 +111,7 @@ function save() {
autoAcceptFollowed: !!autoAcceptFollowed.value,
noCrawle: !!noCrawle.value,
noindex: !!noindex.value,
+ enableRss: !!enableRss.value,
isExplorable: !!isExplorable.value,
hideOnlineStatus: !!hideOnlineStatus.value,
publicReactions: !!publicReactions.value,