|
|
@ -314,14 +314,14 @@ 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 ? (
|
|
|
|
{replyContent !== null && (
|
|
|
|
<ComposerReply
|
|
|
|
<ComposerReply
|
|
|
|
account={replyAccount}
|
|
|
|
account={replyAccount}
|
|
|
|
content={replyContent}
|
|
|
|
content={replyContent}
|
|
|
|
intl={intl}
|
|
|
|
intl={intl}
|
|
|
|
onCancel={onCancelReply}
|
|
|
|
onCancel={onCancelReply}
|
|
|
|
/>
|
|
|
|
/>
|
|
|
|
) : null}
|
|
|
|
)}
|
|
|
|
<ComposerTextarea
|
|
|
|
<ComposerTextarea
|
|
|
|
advancedOptions={advancedOptions}
|
|
|
|
advancedOptions={advancedOptions}
|
|
|
|
autoFocus={!showSearch && !isMobile(window.innerWidth, layout)}
|
|
|
|
autoFocus={!showSearch && !isMobile(window.innerWidth, layout)}
|
|
|
|