From 3a5e9fce02264eeed884b15781593479fda9296a Mon Sep 17 00:00:00 2001 From: xengineering Date: Tue, 4 Jul 2023 14:25:21 +0200 Subject: Rework routing completely --- xmpp/streams.go | 11 ----------- 1 file changed, 11 deletions(-) (limited to 'xmpp/streams.go') 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 - } -} -- cgit v1.2.3-70-g09d2