roster.go
changeset 60 6d4f43f7dc19
parent 58 c0e8778bdb80
child 61 16513974d273
--- a/roster.go	Sat Jan 07 20:41:16 2012 -0700
+++ b/roster.go	Sat Jan 07 21:20:23 2012 -0700
@@ -12,6 +12,10 @@
 
 // This file contains support for roster management, RFC 3921, Section 7.
 
+var rosterExt Extension = Extension{StanzaHandlers:
+	map[string] func(*xml.Name) interface{}{NsRoster:
+		newRosterQuery}, Start: startRosterFilter}
+
 // Roster query/result
 type RosterQuery struct {
 	XMLName xml.Name `xml:"jabber:iq:roster query"`