diff --git a/README.md b/README.md index a94485d4..867373f4 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,8 @@ - rename "repeats" to "boosts" - raise limits: - polls can now have up to 20 options instead of 4 - - polls can now last anywhere from 1 second to 1000 yearss + - polls can now last anywhere from 1 second to 1000 years +- optional alternate gravestone when using websockets that still shows post content but removes buttons --- diff --git a/src/components/settings_modal/tabs/general_tab.vue b/src/components/settings_modal/tabs/general_tab.vue index 43b8e4b6..f3cde1a9 100644 --- a/src/components/settings_modal/tabs/general_tab.vue +++ b/src/components/settings_modal/tabs/general_tab.vue @@ -199,6 +199,20 @@ > {{ $t('settings.useStreamingApi') }} +
  • + + DELETED +
    diff --git a/src/i18n/en.json b/src/i18n/en.json index ffac4c81..96b7c502 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -544,6 +544,7 @@ "delete_account_description": "Permanently delete your data and deactivate your account.", "delete_account_error": "There was an issue deleting your account. If this persists please contact your instance administrator.", "delete_account_instructions": "Type your password in the input below to confirm account deletion.", + "deletePostsStreaming": "Remove posts from timeline if a delete request is received", "disable_sticky_headers": "Don't stick column headers to top of the screen", "discoverable": "Allow discovery of this account in search results and other services", "domain_mutes": "Domains", diff --git a/src/modules/config.js b/src/modules/config.js index f0bbd13a..a81035dc 100644 --- a/src/modules/config.js +++ b/src/modules/config.js @@ -78,6 +78,7 @@ export const defaultState = { interfaceLanguage: browserLocale, hideScopeNotice: false, useStreamingApi: false, + deletePostsStreaming: true, sidebarRight: undefined, // instance default widenTimeline: undefined, // instance default subjectLineBehavior: undefined, // instance default diff --git a/src/modules/instance.js b/src/modules/instance.js index 4509a3ab..b249b2e8 100644 --- a/src/modules/instance.js +++ b/src/modules/instance.js @@ -77,6 +77,7 @@ const defaultState = { soundOnNotifVolume: 0.2, soundOnNotifCustom: '', boostsFollowDefVis: false, + deletePostsStreaming: true, renderMisskeyMarkdown: true, renderMfmOnHover: false, conversationDisplay: 'linear',