mirror of
https://codeberg.org/emersion/gamja.git
synced 2024-11-14 19:05:01 -05:00
Update channel join status when kicked
This commit is contained in:
parent
ada9ff3b71
commit
30e3ec392f
1 changed files with 4 additions and 1 deletions
5
state.js
5
state.js
|
@ -463,7 +463,10 @@ export const State = {
|
||||||
return updateBuffer(channel, (buf) => {
|
return updateBuffer(channel, (buf) => {
|
||||||
let members = new irc.CaseMapMap(buf.members);
|
let members = new irc.CaseMapMap(buf.members);
|
||||||
members.delete(nick);
|
members.delete(nick);
|
||||||
return { members };
|
|
||||||
|
let joined = buf.joined && !client.isMyNick(nick);
|
||||||
|
|
||||||
|
return { members, joined };
|
||||||
});
|
});
|
||||||
case "QUIT":
|
case "QUIT":
|
||||||
buffers = new Map(state.buffers);
|
buffers = new Map(state.buffers);
|
||||||
|
|
Loading…
Reference in a new issue