Commit cba04e7d authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in handling of join messages.

parent 02e7c7e8
...@@ -1396,6 +1396,7 @@ func handleClientMessage(c *webClient, m clientMessage) error { ...@@ -1396,6 +1396,7 @@ func handleClientMessage(c *webClient, m clientMessage) error {
return group.UserError("you are not joined") return group.UserError("you are not joined")
} }
leaveGroup(c) leaveGroup(c)
return nil
} }
if m.Kind != "join" { if m.Kind != "join" {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment