--- a/xmpp.go Sun Jan 01 19:00:21 2012 -0700
+++ b/xmpp.go Sun Jan 01 19:32:51 2012 -0700
@@ -146,6 +146,7 @@
// Start the manager for the filters that can modify what the
// app sees.
clIn := cl.startFilter(stIn)
+ cl.startRosterFilter()
// Initial handshake.
hsOut := &stream{To: jid.Domain, Version: Version}
@@ -200,6 +201,8 @@
filterOut := make(chan (<-chan Stanza))
filterIn := make(chan (<-chan Stanza))
go filter(srvIn, cliOut, filterOut, filterIn)
+ cl.filterOut = filterOut
+ cl.filterIn = filterIn
return cliOut
}