Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents

Render toots with empty contents
main
David Yip 2018-03-28 16:39:12 -05:00 committed by GitHub
commit 4e45954280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -131,10 +131,6 @@ export default class StatusContent extends React.PureComponent {
disabled,
} = this.props;
if (status.get('content').length === 0) {
return null;
}
const hidden = this.props.setExpansion ? !this.props.expanded : this.state.hidden;
const content = { __html: status.get('contentHtml') };