changeset 29 | a456133ed0ac |
parent 26 | 4d0a369079ce |
child 33 | 571713f49494 |
--- a/examples/interact.go Thu Dec 29 09:48:36 2011 -0700 +++ b/examples/interact.go Thu Dec 29 11:02:21 2011 -0700 @@ -30,6 +30,11 @@ } defer c.Close() + err = c.StartSession(&xmpp.Presence{}) + if err != nil { + log.Fatalf("StartSession: %v", err) + } + go func(ch <-chan xmpp.Stanza) { for obj := range ch { fmt.Printf("s: %v\n", obj)