diff options
author | Claire <claire.github-309c@sitedethib.com> | 2021-04-21 15:40:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-21 15:40:00 +0200 |
commit | e243092a5ae44dbf9a1c0ea2791214f6c9d69025 (patch) | |
tree | a84cd270c55dcb3820fd8830f4ab56af5f733649 /app/helpers | |
parent | 0b36e3419d4c4ce175f9db266ef5b3a49a9b3974 (diff) |
Add DM icon back on HTML view of DMs (#16086)
Fix regression from #16052
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index fc2d2fea9..bf5742d34 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 |