forked from jshiffer/go-xmpp
Create a new stream after StartTLS
This commit is contained in:
committed by
Mickaël Rémond
parent
390f9b065e
commit
33446ad0ba
+1
-1
@@ -108,7 +108,7 @@ func (s *Session) startTlsIfSupported(o Config) {
|
||||
return
|
||||
}
|
||||
|
||||
s.err = s.transport.StartTLS()
|
||||
s.StreamId, s.err = s.transport.StartTLS()
|
||||
|
||||
if s.err == nil {
|
||||
s.TlsEnabled = true
|
||||
|
||||
Reference in New Issue
Block a user