forked from jshiffer/go-xmpp
Clean up and fix StartTLS feature discovery
Required field was never set to true
This commit is contained in:
5
auth.go
5
auth.go
@@ -50,11 +50,6 @@ func authPlain(socket io.ReadWriter, decoder *xml.Decoder, user string, password
|
||||
return err
|
||||
}
|
||||
|
||||
type saslMechanisms struct {
|
||||
XMLName xml.Name `xml:"urn:ietf:params:xml:ns:xmpp-sasl mechanisms"`
|
||||
Mechanism []string `xml:"mechanism"`
|
||||
}
|
||||
|
||||
// ============================================================================
|
||||
// SASLSuccess
|
||||
|
||||
|
||||
Reference in New Issue
Block a user