From 2f6b1a11209260f4ee7b9469e39d16e78fb23a0f Mon Sep 17 00:00:00 2001 From: xengineering Date: Fri, 30 Jun 2023 12:09:50 +0200 Subject: Add dummy handler for stream features elements This is the first step to handle stream features correctly with the new routing infrastructure. --- xmpp/router.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmpp/router.go') diff --git a/xmpp/router.go b/xmpp/router.go index 839f870..879579d 100644 --- a/xmpp/router.go +++ b/xmpp/router.go @@ -22,7 +22,7 @@ type routingTable []struct { // variable would have the problem that it could be altered during execution. func getRoutingTable() routingTable { return routingTable{ - // TODO fill with entries + {xml.Name{`http://etherx.jabber.org/streams`, `features`}, streamFeaturesHandler}, } } -- cgit v1.2.3-70-g09d2