roster.go
changeset 37 fbda8e925fdf
parent 36 9fe022261dcc
child 38 2839fece923e
--- a/roster.go	Fri Dec 30 21:49:00 2011 -0700
+++ b/roster.go	Sat Dec 31 10:11:01 2011 -0700
@@ -36,6 +36,10 @@
 	Group []string
 }
 
+func (riq *RosterIq) MarshalXML() ([]byte, os.Error) {
+	return marshalXML(riq)
+}
+
 func (riq *RosterIq) InnerMarshal(w io.Writer) os.Error {
 	return xml.Marshal(w, riq.Query)
 }