forked from AkkomaGang/akkoma-fe
revert to using local setting for default nsfw since backend is broken
This commit is contained in:
parent
9623b0e140
commit
f626da838a
3 changed files with 4 additions and 2 deletions
|
@ -117,6 +117,7 @@ const PostStatusForm = {
|
||||||
? this.copyMessageScope
|
? this.copyMessageScope
|
||||||
: this.$store.state.users.currentUser.default_scope
|
: this.$store.state.users.currentUser.default_scope
|
||||||
|
|
||||||
|
// const { defaultNSFW: sensitiveByDefault } = this.$store.state.serverSideConfig
|
||||||
const { postContentType: contentType, sensitiveByDefault } = this.$store.getters.mergedConfig
|
const { postContentType: contentType, sensitiveByDefault } = this.$store.getters.mergedConfig
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
|
@ -221,7 +221,8 @@
|
||||||
</label>
|
</label>
|
||||||
</li>
|
</li>
|
||||||
<li>
|
<li>
|
||||||
<BooleanSetting path="serverSide_defaultNSFW">
|
<!-- <BooleanSetting path="serverSide_defaultNSFW"> -->
|
||||||
|
<BooleanSetting path="sensitiveByDefault">
|
||||||
{{ $t('settings.sensitive_by_default') }}
|
{{ $t('settings.sensitive_by_default') }}
|
||||||
</BooleanSetting>
|
</BooleanSetting>
|
||||||
</li>
|
</li>
|
||||||
|
|
|
@ -2,7 +2,7 @@ import { get, set } from 'lodash'
|
||||||
|
|
||||||
export const settingsMapGet = {
|
export const settingsMapGet = {
|
||||||
'defaultScope': 'source.privacy',
|
'defaultScope': 'source.privacy',
|
||||||
'defaultNSFW': 'source.sensitive',
|
'defaultNSFW': 'source.sensitive', // BROKEN: pleroma/pleroma#2837
|
||||||
'stripRichContent': 'source.pleroma.no_rich_content',
|
'stripRichContent': 'source.pleroma.no_rich_content',
|
||||||
// Privacy
|
// Privacy
|
||||||
'locked': 'locked',
|
'locked': 'locked',
|
||||||
|
|
Loading…
Reference in a new issue