Center header in account column, hide media in "muted" status components (notifications)
This commit is contained in:
parent
c0a223b480
commit
fca183968e
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ const Status = React.createClass({
|
|||
);
|
||||
}
|
||||
|
||||
if (status.get('media_attachments').size > 0) {
|
||||
if (status.get('media_attachments').size > 0 && !this.props.muted) {
|
||||
if (status.getIn(['media_attachments', 0, 'type']) === 'video') {
|
||||
media = <VideoPlayer media={status.getIn(['media_attachments', 0])} sensitive={status.get('sensitive')} />;
|
||||
} else {
|
||||
|
|
Reference in a new issue