Don't reset _expected_server_name when connecting.
This commit is contained in:
parent
648b03f811
commit
c4bb6c900c
1 changed files with 0 additions and 2 deletions
|
@ -155,8 +155,6 @@ class ClientXMPP(BaseXMPP):
|
|||
address = (self.boundjid.host, 5222)
|
||||
self.dns_service = 'xmpp-client'
|
||||
|
||||
self._expected_server_name = self.boundjid.host
|
||||
|
||||
return XMLStream.connect(self, address[0], address[1],
|
||||
use_tls=use_tls, use_ssl=use_ssl,
|
||||
reattempt=reattempt)
|
||||
|
|
Loading…
Reference in a new issue