From 2506615f4228de4189202123d414e8f22b2c1c1b Mon Sep 17 00:00:00 2001 From: r Date: Sun, 22 Dec 2019 04:25:56 +0000 Subject: Add nsfw mask for status media --- templates/status.tmpl | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'templates/status.tmpl') diff --git a/templates/status.tmpl b/templates/status.tmpl index 7ec7d29..e62296d 100644 --- a/templates/status.tmpl +++ b/templates/status.tmpl @@ -61,6 +61,9 @@ {{if eq .Type "image"}} status-image + {{if $.Sensitive}} +
+ {{end}}
{{else if eq .Type "audio"}} {{else if eq .Type "video"}} - +
+ + {{if $.Sensitive}} +
+ {{end}} +
{{else}} attachment {{end}} -- cgit v1.2.3