[Glitch] Hide sensitive preview cards with blurhash

Port 8e96510b25 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
ThibG
2020-06-06 17:41:56 +02:00
committed by Thibaut Girka
parent 2da2f7f7c2
commit 776aff9656
4 changed files with 103 additions and 11 deletions

View File

@ -656,6 +656,7 @@ class Status extends ImmutablePureComponent {
compact
cacheWidth={this.props.cacheMediaWidth}
defaultWidth={this.props.cachedMediaWidth}
sensitive={status.get('sensitive')}
/>
);
mediaIcon = 'link';