pull/21833/head
David Baker 2017-10-19 17:31:06 +01:00
parent b9574ff382
commit cbb36f4780
1 changed files with 1 additions and 5 deletions

View File

@ -21,10 +21,6 @@ import dis from '../../../dispatcher';
import { _t } from '../../../languageHandler'; import { _t } from '../../../languageHandler';
import MatrixClientPeg from '../../../MatrixClientPeg'; import MatrixClientPeg from '../../../MatrixClientPeg';
// We match fairly liberally and leave it up to the server to reject if
// there are invalid characters etc.
const GROUP_REGEX = /^\+(.*?):(.*)$/;
export default React.createClass({ export default React.createClass({
displayName: 'CreateGroupDialog', displayName: 'CreateGroupDialog',
propTypes: { propTypes: {
@ -150,7 +146,7 @@ export default React.createClass({
onBlur={this._onGroupIdBlur} onBlur={this._onGroupIdBlur}
value={this.state.groupId} value={this.state.groupId}
/> />
<span>:{MatrixClientPeg.get().getDomain()}</span> <span>:{ MatrixClientPeg.get().getDomain() }</span>
</div> </div>
</div> </div>
<div className="error"> <div className="error">