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

Fix a regression introduced by 612b00d1bb
This commit is contained in:
Thibaut Girka 2018-07-28 22:44:54 +02:00 committed by ThibG
parent 3fa9bf7cc2
commit e3bf8c8aa1
1 changed files with 1 additions and 1 deletions

View File

@ -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}