summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2018-12-28 21:36:58 +0900
committersyuilo <Syuilotan@yahoo.co.jp>2018-12-28 21:36:58 +0900
commit8823a6c1a1ffebe96c3646896ae84cfc91eeadf4 (patch)
tree6358d6c6481ea09a9a3b2342c0215f7072d311a9 /src/client
parentSupports CSS Scrollbars (#3783) (diff)
downloadmisskey-8823a6c1a1ffebe96c3646896ae84cfc91eeadf4.tar.gz
misskey-8823a6c1a1ffebe96c3646896ae84cfc91eeadf4.tar.bz2
misskey-8823a6c1a1ffebe96c3646896ae84cfc91eeadf4.zip
フォローしているユーザーからのフォローを自動承認するオプション (#3780)
Diffstat (limited to 'src/client')
-rw-r--r--src/client/app/common/views/components/profile-editor.vue6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/client/app/common/views/components/profile-editor.vue b/src/client/app/common/views/components/profile-editor.vue
index 5f462a2586..75d14236c2 100644
--- a/src/client/app/common/views/components/profile-editor.vue
+++ b/src/client/app/common/views/components/profile-editor.vue
@@ -70,6 +70,7 @@
<div>
<ui-switch v-model="isLocked" @change="save(false)">{{ $t('is-locked') }}</ui-switch>
<ui-switch v-model="carefulBot" @change="save(false)">{{ $t('careful-bot') }}</ui-switch>
+ <ui-switch v-model="autoAcceptFollowed" @change="save(false)">{{ $t('auto-accept-followed') }}</ui-switch>
</div>
</section>
@@ -118,6 +119,7 @@ export default Vue.extend({
isBot: false,
isLocked: false,
carefulBot: false,
+ autoAcceptFollowed: false,
saving: false,
avatarUploading: false,
bannerUploading: false
@@ -156,6 +158,7 @@ export default Vue.extend({
this.isBot = this.$store.state.i.isBot;
this.isLocked = this.$store.state.i.isLocked;
this.carefulBot = this.$store.state.i.carefulBot;
+ this.autoAcceptFollowed = this.$store.state.i.autoAcceptFollowed;
},
methods: {
@@ -217,7 +220,8 @@ export default Vue.extend({
isCat: !!this.isCat,
isBot: !!this.isBot,
isLocked: !!this.isLocked,
- carefulBot: !!this.carefulBot
+ carefulBot: !!this.carefulBot,
+ autoAcceptFollowed: !!this.autoAcceptFollowed
}).then(i => {
this.saving = false;
this.$store.state.i.avatarId = i.avatarId;