Implement /kick and KICK handling in buffers

This commit is contained in:
Drew DeVault
2021-05-26 19:28:24 -04:00
committed by Simon Ser
parent 1d983bd142
commit d34bff9ed6
3 changed files with 37 additions and 0 deletions

View File

@@ -94,6 +94,11 @@ class LogLine extends Component {
${createNick(msg.prefix.name)} has left
`;
break;
case "KICK":
content = html`
${createNick(msg.params[1])} was kicked by ${createNick(msg.prefix.name)} (${msg.params.slice(2)})
`;
break;
case "QUIT":
content = html`
${createNick(msg.prefix.name)} has quit