Added nick change handling, the client now shows nick and quit messages, the userlist gets hidden when the chat window is not a channel

This commit is contained in:
khlieng 2015-01-31 23:35:38 +01:00
parent c421dc504b
commit 5f43b3e78e
9 changed files with 85 additions and 3 deletions

View file

@ -21,6 +21,12 @@ type Connect struct {
Username string `json:"username"`
}
type Nick struct {
Server string `json:"server"`
Old string `json:"old"`
New string `json:"new"`
}
type Join struct {
Server string `json:"server"`
User string `json:"user"`