diff options
Diffstat (limited to 'xmpp/router.go')
-rw-r--r-- | xmpp/router.go | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/xmpp/router.go b/xmpp/router.go index 1d9c3e5..1e21c9b 100644 --- a/xmpp/router.go +++ b/xmpp/router.go @@ -25,17 +25,10 @@ func getRoutingTable() routingTable { {xml.Name{`http://etherx.jabber.org/streams`, `features`}, streamFeaturesHandler}, {xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `success`}, saslSuccessHandler}, {xml.Name{`urn:ietf:params:xml:ns:xmpp-sasl`, `failure`}, saslFailureHandler}, - {xml.Name{`jabber:client`, `iq`}, voidIq}, + {xml.Name{`jabber:client`, `iq`}, iqHandler}, } } -// voidIq just logs that an IQ element was received. In the current state of -// the software there is no further processing. -// TODO process IQs for error handling and further information processing. -func voidIq(s *session, e []xml.Token) { - log.Println("Received IQ element") -} - // route determines the correct handler function for the given XML element by a // given routingTable. In addition it executes the determined handler function. // If no handler function is found an error message is send via the log module. |