Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #5082 - disable retweet link for followers only toot #5397

Conversation

@tkbky
Copy link
Contributor

commented Oct 15, 2017

What

Followers-only toots are not boostable/retweetable yet retweet icon and count is shown. This fixes that.

Why

Make the toot a little less weird 馃槀

Screenshots

screencapture-localhost-3000-web-statuses-98828179277168451-1508028741617
screencapture-localhost-3000-users-admin-updates-5-1508028713673

- if status.direct_visibility?
%span<
= fa_icon('envelope')
%span= status.reblogs_count

This comment has been minimized.

Copy link
@Gargron

Gargron Oct 16, 2017

Member

This is not needed since direct messages cannot be reblogged?

@Gargron Gargron merged commit f72936b into tootsuite:master Oct 16, 2017
2 checks passed
2 checks passed
codeclimate All good!
Details
continuous-integration/travis-ci/pr The Travis CI build passed
Details
cobodo pushed a commit to cobodo/mastodon that referenced this pull request Oct 20, 2017
鈥tsuite#5397)

* Fix tootsuite#5082 - disable retweet link for followers only toot

* Hide reblog count when it is a direct message
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can鈥檛 perform that action at this time.