Display reply indicator even when replying to contentless toot (fixes #564)

th-downstream
Thibaut Girka 6 years ago committed by ThibG
parent b7b718df0d
commit 14061b76dc

@ -314,14 +314,14 @@ class Composer extends React.Component {
{privacy === 'direct' ? <ComposerDirectWarning /> : null}
{privacy === 'private' && amUnlocked ? <ComposerWarning /> : null}
{privacy !== 'public' && APPROX_HASHTAG_RE.test(text) ? <ComposerHashtagWarning /> : null}
{replyContent ? (
{replyContent !== null && (
<ComposerReply
account={replyAccount}
content={replyContent}
intl={intl}
onCancel={onCancelReply}
/>
) : null}
)}
<ComposerTextarea
advancedOptions={advancedOptions}
autoFocus={!showSearch && !isMobile(window.innerWidth, layout)}

Loading…
Cancel
Save