xmpp.go
changeset 46 4a4530b8f622
parent 45 abf958bcc201
child 48 6b402eb552f5
--- 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
 }