* Minor refactor and linting fixup in `flavours/glitch/actions/accounts.js`
This is some added boilerplate but it's much more consistent with the remaining
of the code, and avoids the linting issue.
* Fix missing /privacy-policy link in DM warning because of wrongly-named import
* Fix unnecessary import
* Fix regexp in flavours/glitch/utils/hashtag.js
<FormattedMessageid='compose_form.encryption_warning'defaultMessage='Posts on Mastodon are not end-to-end encrypted. Do not share any dangerous information over Mastodon.'/>{!!termsLink &&<ahref={termsLink}target='_blank'><FormattedMessageid='compose_form.direct_message_warning_learn_more'defaultMessage='Learn more'/></a>}
<FormattedMessageid='compose_form.encryption_warning'defaultMessage='Posts on Mastodon are not end-to-end encrypted. Do not share any dangerous information over Mastodon.'/>{!!privacyPolicyLink &&<ahref={privacyPolicyLink}target='_blank'><FormattedMessageid='compose_form.direct_message_warning_learn_more'defaultMessage='Learn more'/></a>}