Don't reset _expected_server_name when connecting.

This commit is contained in:
Lance Stout 2013-08-22 14:54:53 -07:00
parent 648b03f811
commit c4bb6c900c

View file

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