mirror of
https://codeberg.org/emersion/gamja
synced 2025-03-13 07:48:37 +01:00
parent
a51be5037d
commit
0137a95268
@ -5,6 +5,7 @@ import * as irc from "./irc.js";
|
|||||||
const permanentCaps = [
|
const permanentCaps = [
|
||||||
"away-notify",
|
"away-notify",
|
||||||
"batch",
|
"batch",
|
||||||
|
"chghost",
|
||||||
"echo-message",
|
"echo-message",
|
||||||
"invite-notify",
|
"invite-notify",
|
||||||
"labeled-response",
|
"labeled-response",
|
||||||
|
9
state.js
9
state.js
@ -401,6 +401,15 @@ export const State = {
|
|||||||
let who = { ...buf.who, realname: msg.params[0] };
|
let who = { ...buf.who, realname: msg.params[0] };
|
||||||
return { who };
|
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":
|
case "AWAY":
|
||||||
let awayMessage = msg.params[0];
|
let awayMessage = msg.params[0];
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user