mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-14 19:25:26 -05:00
parent
a51be5037d
commit
0137a95268
2 changed files with 10 additions and 0 deletions
|
@ -5,6 +5,7 @@ import * as irc from "./irc.js";
|
|||
const permanentCaps = [
|
||||
"away-notify",
|
||||
"batch",
|
||||
"chghost",
|
||||
"echo-message",
|
||||
"invite-notify",
|
||||
"labeled-response",
|
||||
|
|
9
state.js
9
state.js
|
@ -401,6 +401,15 @@ export const State = {
|
|||
let who = { ...buf.who, realname: msg.params[0] };
|
||||
return { who };
|
||||
});
|
||||
case "CHGHOST":
|
||||
return updateBuffer(msg.prefix.name, (buf) => {
|
||||
let who = {
|
||||
...buf.who,
|
||||
username: msg.params[0],
|
||||
hostname: msg.params[1],
|
||||
};
|
||||
return { who };
|
||||
});
|
||||
case "AWAY":
|
||||
let awayMessage = msg.params[0];
|
||||
|
||||
|
|
Loading…
Reference in a new issue