mirror of
https://git.sr.ht/~emersion/gamja
synced 2024-11-28 18:45:51 -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) => {
|
||||
let members = new irc.CaseMapMap(buf.members);
|
||||
members.delete(nick);
|
||||
return { members };
|
||||
|
||||
let joined = buf.joined && !client.isMyNick(nick);
|
||||
|
||||
return { members, joined };
|
||||
});
|
||||
case "QUIT":
|
||||
buffers = new Map(state.buffers);
|
||||
|
|
Loading…
Reference in a new issue