Add RPL_WELCOME to server buffer
This commit is contained in:
parent
483f0c65b1
commit
85e73d0ee8
2 changed files with 4 additions and 1 deletions
|
@ -693,7 +693,6 @@ export default class App extends Component {
|
||||||
case irc.RPL_INVITING:
|
case irc.RPL_INVITING:
|
||||||
channel = msg.params[2];
|
channel = msg.params[2];
|
||||||
return [channel];
|
return [channel];
|
||||||
case irc.RPL_WELCOME:
|
|
||||||
case irc.RPL_YOURHOST:
|
case irc.RPL_YOURHOST:
|
||||||
case irc.RPL_MYINFO:
|
case irc.RPL_MYINFO:
|
||||||
case irc.RPL_ISUPPORT:
|
case irc.RPL_ISUPPORT:
|
||||||
|
|
|
@ -186,6 +186,10 @@ class LogLine extends Component {
|
||||||
`;
|
`;
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
case irc.RPL_WELCOME:
|
||||||
|
let nick = msg.params[0];
|
||||||
|
content = html`Connected to server, your nickname is ${nick}`;
|
||||||
|
break;
|
||||||
case irc.RPL_INVITING:
|
case irc.RPL_INVITING:
|
||||||
invitee = msg.params[1];
|
invitee = msg.params[1];
|
||||||
content = html`${createNick(invitee)} has been invited to the channel`;
|
content = html`${createNick(invitee)} has been invited to the channel`;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue