diff --git a/.env.production.sample b/.env.production.sample index 7bcce0f7e59b98..4d058f0119180d 100644 --- a/.env.production.sample +++ b/.env.production.sample @@ -294,6 +294,9 @@ MAX_POLL_OPTION_CHARS=100 # HCAPTCHA_SECRET_KEY= # HCAPTCHA_SITE_KEY= +# New registrations will automatically follow these accounts (separated by commas) +AUTOFOLLOW= + # IP and session retention # ----------------------- # Make sure to modify the scheduling of ip_cleanup_scheduler in config/sidekiq.yml diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 4041b4819425aa..63a9c7e6b7feee 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -6,6 +6,7 @@ import StatusHeader from './status_header'; import StatusIcons from './status_icons'; import StatusContent from './status_content'; import StatusActionBar from './status_action_bar'; +import StatusExpandButton from './status_expand_button'; import AttachmentList from './attachment_list'; import Card from '../features/status/components/card'; import { injectIntl, FormattedMessage } from 'react-intl'; @@ -799,6 +800,14 @@ class Status extends ImmutablePureComponent { tagLinks={settings.get('tag_misleading_links')} rewriteMentions={settings.get('rewrite_mentions')} /> + {/* Only show expand button if collapsed and no spoiler tag is present */} + {isCollapsed && status.get('spoiler_text').length===0 ? ( +