Nick changes get handled properly by the server IRC client, user count stays hidden when the selected tab is not a channel
This commit is contained in:
parent
0a47f2ae4a
commit
e942924c15
5 changed files with 27 additions and 20 deletions
|
@ -120,7 +120,7 @@ func handleWS(ws *websocket.Conn) {
|
|||
json.Unmarshal(req.Request, &data)
|
||||
|
||||
if irc, ok := session.getIRC(data.Server); ok {
|
||||
channelStore.RemoveUserAll(irc.nick, data.Server)
|
||||
channelStore.RemoveUserAll(irc.GetNick(), data.Server)
|
||||
session.user.RemoveServer(data.Server)
|
||||
irc.Quit()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue