0
0
Fork 0

Add warning for sensitive audio posts (#17885)

This commit is contained in:
Rens Groothuijsen 2022-08-13 15:39:05 +02:00 committed by GitHub
parent 03f19b8cd3
commit e6979aa6d4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 71 additions and 8 deletions

View file

@ -409,6 +409,10 @@ class Status extends ImmutablePureComponent {
height={110}
cacheWidth={this.props.cacheMediaWidth}
deployPictureInPicture={pictureInPicture.get('available') ? this.handleDeployPictureInPicture : undefined}
sensitive={status.get('sensitive')}
blurhash={attachment.get('blurhash')}
visible={this.state.showMedia}
onToggleVisibility={this.handleToggleMediaVisibility}
/>
)}
</Bundle>