about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch
diff options
context:
space:
mode:
authorDavid Yip <yipdw@member.fsf.org>2018-03-28 16:39:12 -0500
committerGitHub <noreply@github.com>2018-03-28 16:39:12 -0500
commit4e45954280390f90dcacc2fd0a33bf75114b38d6 (patch)
treebdd11c59c74a17eac2c809293d49f9e5b3b35608 /app/javascript/flavours/glitch
parentd37a79adcecd04106d21d2672db68c2a9dac1517 (diff)
parent53eab4470dffccae7c8069f88ddfdc7b58d8126f (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.js4
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') };