about summary refs log tree commit diff
path: root/app/helpers
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-04-21 15:40:00 +0200
committerGitHub <noreply@github.com>2021-04-21 15:40:00 +0200
commite243092a5ae44dbf9a1c0ea2791214f6c9d69025 (patch)
treea84cd270c55dcb3820fd8830f4ab56af5f733649 /app/helpers
parent0b36e3419d4c4ce175f9db266ef5b3a49a9b3974 (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.rb2
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