diff options
author | Rens Groothuijsen <l.groothuijsen@alumni.maastrichtuniversity.nl> | 2022-08-13 15:39:05 +0200 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-08-15 14:57:57 +0200 |
commit | 41fa50ac8655e0c15cf5e93fa14f9ce847aec88f (patch) | |
tree | 4ce630b36a8b36c51b1224d87b97e198e63c2edf /app/javascript/flavours/glitch/components | |
parent | e2a7a458d6c62a312b868375b05d663fbca6f20d (diff) |
[Glitch] Add warning for sensitive audio posts
Port e6979aa6d43f24ab290c27f596fcd71fcc0ac03a to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
Diffstat (limited to 'app/javascript/flavours/glitch/components')
-rw-r--r-- | app/javascript/flavours/glitch/components/status.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/components/status.js b/app/javascript/flavours/glitch/components/status.js index 11c81765b..b2d9acebc 100644 --- a/app/javascript/flavours/glitch/components/status.js +++ b/app/javascript/flavours/glitch/components/status.js @@ -625,6 +625,10 @@ class Status extends ImmutablePureComponent { height={110} cacheWidth={this.props.cacheMediaWidth} deployPictureInPicture={this.handleDeployPictureInPicture} + sensitive={status.get('sensitive')} + blurhash={attachment.get('blurhash')} + visible={this.state.showMedia} + onToggleVisibility={this.handleToggleMediaVisibility} /> )} </Bundle>, |