diff -r 7c45fc3f524a -r 5c6d6d51d3ba xmpp.go --- a/xmpp.go Fri Dec 28 17:56:13 2012 -0700 +++ b/xmpp.go Tue Mar 26 10:54:44 2013 -0600 @@ -188,7 +188,7 @@ } func startXmlReader(r io.Reader, -extStanza map[string]func(*xml.Name) interface{}) <-chan interface{} { + extStanza map[string]func(*xml.Name) interface{}) <-chan interface{} { ch := make(chan interface{}) go readXml(r, ch, extStanza) return ch @@ -269,8 +269,7 @@ func (cl *Client) StartSession(getRoster bool, pr *Presence) error { id := <-Id iq := &Iq{Header: Header{To: cl.Jid.Domain, Id: id, Type: "set", - Nested: []interface{}{Generic{XMLName: - xml.Name{Space: NsSession, Local: "session"}}}}} + Nested: []interface{}{Generic{XMLName: xml.Name{Space: NsSession, Local: "session"}}}}} ch := make(chan error) f := func(st Stanza) bool { iq, ok := st.(*Iq)