mirror of
https://github.com/jech/galene.git
synced 2024-11-10 02:35:58 +01:00
Fix typo in new client pushing code.
This commit is contained in:
parent
260597d595
commit
be2f2d7cb3
1 changed files with 3 additions and 5 deletions
|
@ -487,12 +487,10 @@ 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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue