better error msg
This commit is contained in:
parent
7b116c3526
commit
63f679961e
@ -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 New Issue
Block a user