better error msg
This commit is contained in:
parent
7b116c3526
commit
63f679961e
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ export default React.createClass({
|
||||||
if (!this.isAliasValid(entity) && !this.isUserIdValid(entity) && !this.isMsglinkValid(entity)) {
|
if (!this.isAliasValid(entity) && !this.isUserIdValid(entity) && !this.isMsglinkValid(entity)) {
|
||||||
this.setState({
|
this.setState({
|
||||||
entity: entity,
|
entity: entity,
|
||||||
error: "Invalid room alias, user ID or message permalink",
|
error: "Invalid room alias, user ID or message permalink '" + entity + "'",
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue