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

Render toots with empty contents
master
David Yip 7 years ago committed by GitHub
commit 4e45954280
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      app/javascript/flavours/glitch/components/status_content.js

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

Loading…
Cancel
Save