changeset 118 | fb9bb98a8d70 |
parent 116 | 5c6d6d51d3ba |
child 121 | ebb86cbdd218 |
--- a/roster.go Tue Mar 26 10:54:44 2013 -0600 +++ b/roster.go Fri Aug 30 17:24:39 2013 -0600 @@ -49,7 +49,7 @@ rosterUpdate := rosterClients[client.Uid].rosterUpdate iq := &Iq{Header: Header{From: client.Jid.String(), Type: "get", - Id: <-Id, Nested: []interface{}{RosterQuery{}}}} + Id: NextId(), Nested: []interface{}{RosterQuery{}}}} ch := make(chan error) f := func(v Stanza) bool { defer close(ch)