Add warning for sensitive audio posts (#17885)
This commit is contained in:
parent
03f19b8cd3
commit
e6979aa6d4
4 changed files with 71 additions and 8 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue