Merge remote-tracking branch 'tootsuite/master' into glitchsoc/master

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
Jenkins 2018-02-05 02:17:12 +00:00
commit 3405ea6dd9
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import PropTypes from 'prop-types';
import { FormattedMessage } from 'react-intl';
import { me } from '../../../initial_state';
const APPROX_HASHTAG_RE = /(?:^|[^\/\)\w])#(\S+)/i;
const APPROX_HASHTAG_RE = /(?:^|[^\/\)\w])#(\w*[a-zA-Z]\w*)/i;
const mapStateToProps = state => ({
needsLockWarning: state.getIn(['compose', 'privacy']) === 'private' && !state.getIn(['accounts', me, 'locked']),