forked from jshiffer/go-xmpp
Split out TransportConfiguration
This allows using the same transport configuration from both clients and components.
This commit is contained in:
committed by
Mickaël Rémond
parent
66e219844b
commit
96fccbd399
+1
-1
@@ -132,7 +132,7 @@ func (s *Session) startTlsIfSupported(transport Transport, domain string, o Conf
|
||||
return
|
||||
}
|
||||
|
||||
s.err = transport.StartTLS(domain, o)
|
||||
s.err = transport.StartTLS(domain)
|
||||
|
||||
if s.err == nil {
|
||||
s.TlsEnabled = true
|
||||
|
||||
Reference in New Issue
Block a user