Show reply indicator for empty toots, not undefined toots (fixes #610)

Fix a regression introduced by 612b00d1bb
master
Thibaut Girka 6 years ago committed by ThibG
parent 3fa9bf7cc2
commit e3bf8c8aa1
  1. 2
      app/javascript/flavours/glitch/features/composer/index.js

@ -328,7 +328,7 @@ class Composer extends React.Component {
{privacy === 'direct' ? <ComposerDirectWarning /> : null}
{privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
{privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
{replyContent !== null && (
{replyAccount && (
<ComposerReply
account={replyAccount}
content={replyContent}

Loading…
Cancel
Save