summaryrefslogtreecommitdiff
path: root/xmpp/router.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-06-30 12:09:50 +0200
committerxengineering <me@xengineering.eu>2023-06-30 12:09:50 +0200
commit2f6b1a11209260f4ee7b9469e39d16e78fb23a0f (patch)
tree8069b866949e334223d37f8d00c70af514d4a11c /xmpp/router.go
parent04746f75ea935266ded4e28edb6ab25c537d50e1 (diff)
downloadlimox-2f6b1a11209260f4ee7b9469e39d16e78fb23a0f.tar
limox-2f6b1a11209260f4ee7b9469e39d16e78fb23a0f.tar.zst
limox-2f6b1a11209260f4ee7b9469e39d16e78fb23a0f.zip
Add dummy handler for stream features elements
This is the first step to handle stream features correctly with the new routing infrastructure.
Diffstat (limited to 'xmpp/router.go')
-rw-r--r--xmpp/router.go2
1 files changed, 1 insertions, 1 deletions
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},
}
}