Add RPL_WELCOME to server buffer

This commit is contained in:
Simon Ser 2021-11-02 15:27:24 +01:00
parent 483f0c65b1
commit 85e73d0ee8
2 changed files with 4 additions and 1 deletions

View file

@ -186,6 +186,10 @@ class LogLine extends Component {
`;
}
break;
case irc.RPL_WELCOME:
let nick = msg.params[0];
content = html`Connected to server, your nickname is ${nick}`;
break;
case irc.RPL_INVITING:
invitee = msg.params[1];
content = html`${createNick(invitee)} has been invited to the channel`;