better error msg

This commit is contained in:
Matthew Hodgson 2016-05-20 17:09:04 +01:00
parent 7b116c3526
commit 63f679961e

View File

@ -125,7 +125,7 @@ export default React.createClass({
if (!this.isAliasValid(entity) && !this.isUserIdValid(entity) && !this.isMsglinkValid(entity)) {
this.setState({
entity: entity,
error: "Invalid room alias, user ID or message permalink",
error: "Invalid room alias, user ID or message permalink '" + entity + "'",
});
return;
}