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

Render toots with empty contents
This commit is contained in:
David Yip 2018-03-28 16:39:12 -05:00 committed by GitHub
commit 299cfa4bc7

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') };