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

Fix a regression introduced by 612b00d1bb
main
Thibaut Girka 6 years ago committed by ThibG
parent 3fa9bf7cc2
commit e3bf8c8aa1

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

Loading…
Cancel
Save