Clean up and fix StartTLS feature discovery

Required field was never set to true
This commit is contained in:
Mickael Remond
2019-06-10 16:27:52 +02:00
parent 44568fcf2b
commit 709a95129e
7 changed files with 149 additions and 27 deletions

View File

@@ -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