# HG changeset patch # User Chris Jones # Date 1378676276 25200 # Node ID c4e0b897db835ce8b42836ad2a73a270ddbe2926 # Parent feaa24de9597065ebceabfc98e74dd46c5aefa0e Removed some unused code. diff -r feaa24de9597 -r c4e0b897db83 xmpp/filter.go --- a/xmpp/filter.go Sat Sep 07 19:53:58 2013 -0700 +++ b/xmpp/filter.go Sun Sep 08 14:37:56 2013 -0700 @@ -34,16 +34,6 @@ close(botFiltIn) } -// Starts the filter chain. Filters will all interpose themselves -// between srvIn and cliOut. -func (cl *Client) startFilters(srvIn, cliIn <-chan Stanza) (<-chan Stanza, <-chan Stanza) { - cliOut := make(chan Stanza) - srvOut := make(chan Stanza) - go filterMgr(cl.sendFilterAdd, srvIn, cliOut) - go filterMgr(cl.recvFilterAdd, cliIn, srvOut) - return cliOut, srvOut -} - // AddRecvFilter adds a new filter to the top of the stack through which // incoming stanzas travel on their way up to the client. func (cl *Client) AddRecvFilter(filt Filter) {