Skip to content

Commit

Permalink
Add DM icon back on HTML view of DMs (mastodon#16086)
Browse files Browse the repository at this point in the history
Fix regression from mastodon#16052
  • Loading branch information
ClearlyClaire authored Apr 21, 2021
1 parent 0b36e34 commit e243092
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ def visibility_icon(status)
fa_icon('unlock', title: I18n.t('statuses.visibilities.unlisted'))
elsif status.private_visibility? || status.limited_visibility?
fa_icon('lock', title: I18n.t('statuses.visibilities.private'))
elsif status.direct_visibility?
fa_icon('envelope', title: I18n.t('statuses.visibilities.direct'))
end
end

Expand Down
1 change: 1 addition & 0 deletions config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1260,6 +1260,7 @@ en:
sign_in_to_participate: Sign in to participate in the conversation
title: '%{name}: "%{quote}"'
visibilities:
direct: Direct
private: Followers-only
private_long: Only show to followers
public: Public
Expand Down

0 comments on commit e243092

Please sign in to comment.