diff options
| author | kaniini <nenolod@gmail.com> | 2018-08-24 21:51:54 +0000 |
|---|---|---|
| committer | kaniini <nenolod@gmail.com> | 2018-08-24 21:51:54 +0000 |
| commit | 55650ff7ea9867cdb8adf7077b36bbb8c7bfcb75 (patch) | |
| tree | 54f5294c1bc470aca73c46ad985bbacc8352ff51 /src/components/settings/settings.js | |
| parent | 14db3f279daed82011bdcc2bbad21450c08a4487 (diff) | |
| parent | da9629486679345689ab75a0c663c16887e524f6 (diff) | |
Merge branch 'reply-visibility' into 'develop'
Add settings for changing the visibility of replies in the timeline.
See merge request pleroma/pleroma-fe!314
Diffstat (limited to 'src/components/settings/settings.js')
| -rw-r--r-- | src/components/settings/settings.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/components/settings/settings.js b/src/components/settings/settings.js index c85ef59f..d5ca33cc 100644 --- a/src/components/settings/settings.js +++ b/src/components/settings/settings.js @@ -8,6 +8,7 @@ const settings = { hideAttachmentsLocal: this.$store.state.config.hideAttachments, hideAttachmentsInConvLocal: this.$store.state.config.hideAttachmentsInConv, hideNsfwLocal: this.$store.state.config.hideNsfw, + replyVisibilityLocal: this.$store.state.config.replyVisibility, loopVideoLocal: this.$store.state.config.loopVideo, loopVideoSilentOnlyLocal: this.$store.state.config.loopVideoSilentOnly, muteWordsString: this.$store.state.config.muteWords.join('\n'), @@ -44,6 +45,9 @@ const settings = { hideNsfwLocal (value) { this.$store.dispatch('setOption', { name: 'hideNsfw', value }) }, + replyVisibilityLocal (value) { + this.$store.dispatch('setOption', { name: 'replyVisibility', value }) + }, loopVideoLocal (value) { this.$store.dispatch('setOption', { name: 'loopVideo', value }) }, |
