diff options
Diffstat (limited to 'xmpp/streams.go')
-rw-r--r-- | xmpp/streams.go | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/xmpp/streams.go b/xmpp/streams.go index b55b6f0..b7cde3e 100644 --- a/xmpp/streams.go +++ b/xmpp/streams.go @@ -65,9 +65,7 @@ func iqHandler(s *session, e []xml.Token) { } type streamFeatures struct { - Mechanisms []struct { - Type string `xml:",chardata"` - } `xml:"mechanisms>mechanism"` + SaslMechanisms []string `xml:"mechanisms>mechanism"` } func streamFeaturesHandler(s *xml.StartElement, d *xml.Decoder, c chan<- any) { |