diff options
author | ThibG <thib@sitedethib.com> | 2020-06-06 17:41:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-06 17:41:56 +0200 |
commit | 8e96510b2528056e84cf8d0ed68d2e686e566180 (patch) | |
tree | a11a65f14e6adaf41e1208f12c944be0c6141346 /app/javascript/mastodon/components | |
parent | a3f22bd4cad22312311e7304071ebb188f2bde38 (diff) |
Hide sensitive preview cards with blurhash (#13985)
* Use preview card blurhash in WebUI * Handle sensitive preview cards
Diffstat (limited to 'app/javascript/mastodon/components')
-rw-r--r-- | app/javascript/mastodon/components/status.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/javascript/mastodon/components/status.js b/app/javascript/mastodon/components/status.js index 9e4442cef..f99ccd39a 100644 --- a/app/javascript/mastodon/components/status.js +++ b/app/javascript/mastodon/components/status.js @@ -401,6 +401,7 @@ class Status extends ImmutablePureComponent { compact cacheWidth={this.props.cacheMediaWidth} defaultWidth={this.props.cachedMediaWidth} + sensitive={status.get('sensitive')} /> ); } |