about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/components/status.js
diff options
context:
space:
mode:
authorThibG <thib@sitedethib.com>2020-06-06 17:41:56 +0200
committerThibaut Girka <thib@sitedethib.com>2020-06-09 11:01:31 +0200
commit776aff96561fc70a7c37023b444e364781dd2a3e (patch)
tree8845248f0e76d2bb87036d4e9a9c21de1d02211e /app/javascript/flavours/glitch/components/status.js
parent2da2f7f7c2765ae3f3b7e7317fbc8369db4834f8 (diff)
[Glitch] Hide sensitive preview cards with blurhash
Port 8e96510b2528056e84cf8d0ed68d2e686e566180 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components/status.js')
-rw-r--r--app/javascript/flavours/glitch/components/status.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js
index 91bc06b3c..e036c0da7 100644
--- a/app/javascript/flavours/glitch/components/status.js
+++ b/app/javascript/flavours/glitch/components/status.js
@@ -656,6 +656,7 @@ class Status extends ImmutablePureComponent {
           compact
           cacheWidth={this.props.cacheMediaWidth}
           defaultWidth={this.props.cachedMediaWidth}
+          sensitive={status.get('sensitive')}
         />
       );
       mediaIcon = 'link';