diff options
author | David Yip <yipdw@member.fsf.org> | 2018-03-28 16:39:12 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-03-28 16:39:12 -0500 |
commit | 4e45954280390f90dcacc2fd0a33bf75114b38d6 (patch) | |
tree | bdd11c59c74a17eac2c809293d49f9e5b3b35608 /app/javascript/flavours/glitch | |
parent | d37a79adcecd04106d21d2672db68c2a9dac1517 (diff) | |
parent | 53eab4470dffccae7c8069f88ddfdc7b58d8126f (diff) |
Merge pull request #402 from ThibG/glitch-soc/fixes/accept-empty-toot-contents
Render toots with empty contents
Diffstat (limited to 'app/javascript/flavours/glitch')
-rw-r--r-- | app/javascript/flavours/glitch/components/status_content.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/javascript/flavours/glitch/components/status_content.js b/app/javascript/flavours/glitch/components/status_content.js index a15bf7c52..3bb3c7a12 100644 --- a/app/javascript/flavours/glitch/components/status_content.js +++ b/app/javascript/flavours/glitch/components/status_content.js @@ -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') }; |