Display error popup on FAIL

This commit is contained in:
Simon Ser 2021-03-09 21:48:04 +01:00
parent 97e75805fa
commit 4991518ed5

View File

@ -685,6 +685,11 @@ export default class App extends Component {
return { who };
});
break;
case "FAIL":
var description = msg.params[msg.params.length - 1];
this.setState({ error: description });
this.addMessage(netID, SERVER_BUFFER, msg);
break;
case "CAP":
case "AUTHENTICATE":
case "PING":