mirror of
https://github.com/vector-im/element-web.git
synced 2026-05-05 12:16:53 +02:00
Clear out discovery errors on each try
This commit is contained in:
parent
36d162cb25
commit
f5e3b90fc3
@ -265,7 +265,10 @@ module.exports = React.createClass({
|
||||
},
|
||||
|
||||
onUsernameBlur: function(username) {
|
||||
this.setState({ username: username });
|
||||
this.setState({
|
||||
username: username,
|
||||
discoveryError: null,
|
||||
});
|
||||
if (username[0] === "@") {
|
||||
const serverName = username.split(':').slice(1).join(':');
|
||||
try {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user