mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 15:58:40 +01:00
Display error popup on FAIL
This commit is contained in:
parent
97e75805fa
commit
4991518ed5
@ -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":
|
||||
|
Loading…
x
Reference in New Issue
Block a user