Commit 7281a09f authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Use pushTracks in up.OnTrack.

parent fc6c26e1
......@@ -315,10 +315,7 @@ func addUpConn(c *client, id string) (*upConnection, error) {
clients := c.group.getClients(c)
for _, cc := range clients {
cc.action(addTrackAction{track, u, done})
if done && u.label != "" {
cc.action(addLabelAction{id, u.label})
}
pushTracks(cc, u, []*upTrack{track}, done, u.label)
}
go upLoop(conn, track)
......
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