summaryrefslogtreecommitdiff
path: root/xmpp/streams.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-07-04 14:25:21 +0200
committerxengineering <me@xengineering.eu>2023-07-04 14:26:01 +0200
commit3a5e9fce02264eeed884b15781593479fda9296a (patch)
tree96fc5facb359c70c26623621f6022202f994054f /xmpp/streams.go
parent1d3dfa5b93000bc4109ba49ea018e72fbf4f5753 (diff)
downloadlimox-3a5e9fce02264eeed884b15781593479fda9296a.tar
limox-3a5e9fce02264eeed884b15781593479fda9296a.tar.zst
limox-3a5e9fce02264eeed884b15781593479fda9296a.zip
Rework routing completely
Diffstat (limited to 'xmpp/streams.go')
-rw-r--r--xmpp/streams.go11
1 files changed, 0 insertions, 11 deletions
diff --git a/xmpp/streams.go b/xmpp/streams.go
index b7cde3e..3aca8a2 100644
--- a/xmpp/streams.go
+++ b/xmpp/streams.go
@@ -67,14 +67,3 @@ func iqHandler(s *session, e []xml.Token) {
type streamFeatures struct {
SaslMechanisms []string `xml:"mechanisms>mechanism"`
}
-
-func streamFeaturesHandler(s *xml.StartElement, d *xml.Decoder, c chan<- any) {
- e := streamFeatures{}
-
- err := d.DecodeElement(&e, s)
- if err != nil {
- log.Printf("Could not decode stream features: %v\n", err)
- } else {
- c <- e
- }
-}