mirror of https://github.com/vector-im/riot-web
More misc linter cleanup
parent
9795161f40
commit
75a2593523
|
@ -75,7 +75,7 @@ export default class AliasSettings extends React.Component {
|
||||||
|
|
||||||
isAliasValid(alias) {
|
isAliasValid(alias) {
|
||||||
// XXX: FIXME https://github.com/matrix-org/matrix-doc/issues/668
|
// XXX: FIXME https://github.com/matrix-org/matrix-doc/issues/668
|
||||||
return (alias.match(/^#([^\/:,]+?):(.+)$/) && encodeURI(alias) === alias);
|
return (alias.match(/^#([^/:,]+?):(.+)$/) && encodeURI(alias) === alias);
|
||||||
}
|
}
|
||||||
|
|
||||||
changeCanonicalAlias(alias) {
|
changeCanonicalAlias(alias) {
|
||||||
|
@ -252,4 +252,4 @@ export default class AliasSettings extends React.Component {
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
};
|
}
|
||||||
|
|
Loading…
Reference in New Issue