mirror of
https://codeberg.org/emersion/gamja.git
synced 2025-04-12 05:34:34 -04:00
Display error popup on FAIL
This commit is contained in:
parent
97e75805fa
commit
4991518ed5
1 changed files with 5 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue