diff options
| author | xengineering <me@xengineering.eu> | 2023-06-30 20:43:12 +0200 | 
|---|---|---|
| committer | xengineering <me@xengineering.eu> | 2023-06-30 20:43:25 +0200 | 
| commit | 0774275597131badfba5045b14f9632a78d063e8 (patch) | |
| tree | 51d302e473b5474de8ed74dad42a387fa3e441fb /xmpp/router.go | |
| parent | e2c057571ae309cf503851ab8f63c2159f2ef4bc (diff) | |
| parent | ff92af1410f3c37c6cfa5fb7ff6e322c8d691121 (diff) | |
| download | limox-0774275597131badfba5045b14f9632a78d063e8.tar limox-0774275597131badfba5045b14f9632a78d063e8.tar.zst limox-0774275597131badfba5045b14f9632a78d063e8.zip | |
Merge branch 'initial-presence'
This broadcasts that the LimoX client is ready for communication.
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. | 
