diff --git a/src/components/user_settings/user_settings.js b/src/components/user_settings/user_settings.js index ced3efaa..a534c15b 100644 --- a/src/components/user_settings/user_settings.js +++ b/src/components/user_settings/user_settings.js @@ -39,6 +39,7 @@ const UserSettings = { newBio: unescape(this.$store.state.users.currentUser.description), newLocked: this.$store.state.users.currentUser.locked, newNoRichText: this.$store.state.users.currentUser.no_rich_text, + newSkipThreadContainment: this.$store.state.users.currentUser.skip_thread_containment, newDefaultScope: this.$store.state.users.currentUser.default_scope, hideFollows: this.$store.state.users.currentUser.hide_follows, hideFollowers: this.$store.state.users.currentUser.hide_followers, @@ -140,6 +141,7 @@ const UserSettings = { display_name: this.newName, default_scope: this.newDefaultScope, no_rich_text: this.newNoRichText, + skip_thread_containment: this.newSkipThreadContainment, hide_follows: this.hideFollows, hide_followers: this.hideFollowers, show_role: this.showRole diff --git a/src/components/user_settings/user_settings.vue b/src/components/user_settings/user_settings.vue index 94f1b1f1..cafb1a9e 100644 --- a/src/components/user_settings/user_settings.vue +++ b/src/components/user_settings/user_settings.vue @@ -54,6 +54,10 @@

+

+ + +

diff --git a/src/i18n/en.json b/src/i18n/en.json index dd34a95d..bf41ae8e 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -268,6 +268,7 @@ "notification_visibility_likes": "Likes", "notification_visibility_mentions": "Mentions", "notification_visibility_repeats": "Repeats", + "skip_thread_containment_description": "Hide replies to inaccessible posts", "no_rich_text_description": "Strip rich text formatting from all posts", "no_blocks": "No blocks", "no_mutes": "No mutes", diff --git a/src/i18n/ru.json b/src/i18n/ru.json index d24ef0cb..94b972eb 100644 --- a/src/i18n/ru.json +++ b/src/i18n/ru.json @@ -174,6 +174,7 @@ "notification_visibility_likes": "Лайки", "notification_visibility_mentions": "Упоминания", "notification_visibility_repeats": "Повторы", + "skip_thread_containment_description": "Прятать ответы к недоступным постам", "no_rich_text_description": "Убрать форматирование из всех постов", "hide_follows_description": "Не показывать кого я читаю", "hide_followers_description": "Не показывать кто читает меня", diff --git a/src/services/entity_normalizer/entity_normalizer.service.js b/src/services/entity_normalizer/entity_normalizer.service.js index 9af71e4f..b1798629 100644 --- a/src/services/entity_normalizer/entity_normalizer.service.js +++ b/src/services/entity_normalizer/entity_normalizer.service.js @@ -90,6 +90,7 @@ export const parseUser = (data) => { if (data.source.pleroma) { output.no_rich_text = data.source.pleroma.no_rich_text output.show_role = data.source.pleroma.show_role + output.skip_thread_containment = data.source.skip_thread_containment } }