|
|
|
@ -546,6 +546,7 @@ class Status extends ImmutablePureComponent { |
|
|
|
|
const visibilityIcon = visibilityIconInfo[status.get('visibility')]; |
|
|
|
|
|
|
|
|
|
const {statusContentProps, hashtagBar} = getHashtagBarForStatus(status); |
|
|
|
|
const expanded = !status.get('hidden') |
|
|
|
|
|
|
|
|
|
return ( |
|
|
|
|
<HotKeys handlers={handlers}> |
|
|
|
@ -574,7 +575,7 @@ class Status extends ImmutablePureComponent { |
|
|
|
|
<StatusContent |
|
|
|
|
status={status} |
|
|
|
|
onClick={this.handleClick} |
|
|
|
|
expanded={!status.get('hidden')} |
|
|
|
|
expanded={expanded} |
|
|
|
|
onExpandedToggle={this.handleExpandedToggle} |
|
|
|
|
onTranslate={this.handleTranslate} |
|
|
|
|
collapsible |
|
|
|
@ -584,7 +585,7 @@ class Status extends ImmutablePureComponent { |
|
|
|
|
|
|
|
|
|
{media} |
|
|
|
|
|
|
|
|
|
{hashtagBar} |
|
|
|
|
{expanded && hashtagBar} |
|
|
|
|
|
|
|
|
|
<StatusActionBar scrollKey={scrollKey} status={status} account={account} onFilter={matchedFilters ? this.handleFilterClick : null} {...other} /> |
|
|
|
|
</div> |
|
|
|
|