diff options
| author | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-01 11:46:57 +0000 |
|---|---|---|
| committer | HJ <30-hj@users.noreply.git.pleroma.social> | 2022-08-01 11:46:57 +0000 |
| commit | 8e7f3ea074d16a6c89fa7366a1f64302724f661f (patch) | |
| tree | 40e151399cfb1d9a3afd8576e05173a33a90b03f /src/modules/serverSideConfig.js | |
| parent | d0a09480b396e05d58957d193490e14a4ed12ccf (diff) | |
| parent | bd5d5c9df7e39efa7ecbb1bbfbd036906d1e9535 (diff) | |
Merge branch 'eslint-update' into 'develop'
update ESLint
See merge request pleroma/pleroma-fe!1576
Diffstat (limited to 'src/modules/serverSideConfig.js')
| -rw-r--r-- | src/modules/serverSideConfig.js | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/modules/serverSideConfig.js b/src/modules/serverSideConfig.js index 4b73af26..476263bc 100644 --- a/src/modules/serverSideConfig.js +++ b/src/modules/serverSideConfig.js @@ -39,53 +39,53 @@ const notificationsApi = ({ rootState, commit }, { path, value, oldValue }) => { * If no api is specified, defaultApi is used (see above) */ export const settingsMap = { - 'defaultScope': 'source.privacy', - 'defaultNSFW': 'source.sensitive', // BROKEN: pleroma/pleroma#2837 - 'stripRichContent': { + defaultScope: 'source.privacy', + defaultNSFW: 'source.sensitive', // BROKEN: pleroma/pleroma#2837 + stripRichContent: { get: 'source.pleroma.no_rich_text', set: 'no_rich_text' }, // Privacy - 'locked': 'locked', - 'acceptChatMessages': { + locked: 'locked', + acceptChatMessages: { get: 'pleroma.accepts_chat_messages', set: 'accepts_chat_messages' }, - 'allowFollowingMove': { + allowFollowingMove: { get: 'pleroma.allow_following_move', set: 'allow_following_move' }, - 'discoverable': { + discoverable: { get: 'source.pleroma.discoverable', set: 'discoverable' }, - 'hideFavorites': { + hideFavorites: { get: 'pleroma.hide_favorites', set: 'hide_favorites' }, - 'hideFollowers': { + hideFollowers: { get: 'pleroma.hide_followers', set: 'hide_followers' }, - 'hideFollows': { + hideFollows: { get: 'pleroma.hide_follows', set: 'hide_follows' }, - 'hideFollowersCount': { + hideFollowersCount: { get: 'pleroma.hide_followers_count', set: 'hide_followers_count' }, - 'hideFollowsCount': { + hideFollowsCount: { get: 'pleroma.hide_follows_count', set: 'hide_follows_count' }, // NotificationSettingsAPIs - 'webPushHideContents': { + webPushHideContents: { get: 'pleroma.notification_settings.hide_notification_contents', set: 'hide_notification_contents', api: notificationsApi }, - 'blockNotificationsFromStrangers': { + blockNotificationsFromStrangers: { get: 'pleroma.notification_settings.block_from_strangers', set: 'block_from_strangers', api: notificationsApi |
