# HG changeset patch # User Chris Jones # Date 1325098649 25200 # Node ID b839e37b3f29c9451ea6f50195dbe22d9fa7504b # Parent aa2cf77f0ed3dbea4f60f34f0da1732a3e69e56c Parse and stanzas. diff -r aa2cf77f0ed3 -r b839e37b3f29 stream.go --- a/stream.go Wed Dec 28 11:55:31 2011 -0700 +++ b/stream.go Wed Dec 28 11:57:29 2011 -0700 @@ -121,6 +121,10 @@ obj = &auth{} case "jabber:client iq": obj = &Iq{} + case "jabber:client message": + obj = &Message{} + case "jabber:client presence": + obj = &Presence{} default: obj = &Unrecognized{} log.Printf("Ignoring unrecognized: %s %s\n",