Add DM icon back on HTML view of DMs (#16086)

Fix regression from #16052
lolsob-rspec
Claire 2021-04-21 15:40:00 +02:00 committed by GitHub
parent 05df66f8d7
commit d3f42fd4d1
2 changed files with 3 additions and 0 deletions

View File

@ -91,6 +91,8 @@ module ApplicationHelper
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

View File

@ -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