Commit be2f2d7c authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in new client pushing code.

parent 260597d5
...@@ -487,11 +487,9 @@ func AddClient(group string, c Client) (*Group, error) { ...@@ -487,11 +487,9 @@ func AddClient(group string, c Client) (*Group, error) {
u := c.Username() u := c.Username()
c.PushClient(c.Id(), u, true) c.PushClient(c.Id(), u, true)
for _, c := range clients { for _, cc := range clients {
for _, cc := range clients { c.PushClient(cc.Id(), cc.Username(), true)
c.PushClient(cc.Id(), cc.Username(), true) cc.PushClient(c.Id(), u, true)
cc.PushClient(c.Id(), u, true)
}
} }
return g, nil return g, nil
......
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