diff options
author | Lance Stout <lancestout@gmail.com> | 2013-08-22 14:54:53 -0700 |
---|---|---|
committer | Lance Stout <lancestout@gmail.com> | 2013-08-22 14:54:53 -0700 |
commit | c4bb6c900c9fa92fe36b108edad0449358aa5046 (patch) | |
tree | c890af612f2d17bc808261e2695a0e68acf2b55b /sleekxmpp | |
parent | 648b03f81172829cae65f6ac9fc551e049310501 (diff) | |
download | slixmpp-c4bb6c900c9fa92fe36b108edad0449358aa5046.tar.gz slixmpp-c4bb6c900c9fa92fe36b108edad0449358aa5046.tar.bz2 slixmpp-c4bb6c900c9fa92fe36b108edad0449358aa5046.tar.xz slixmpp-c4bb6c900c9fa92fe36b108edad0449358aa5046.zip |
Don't reset _expected_server_name when connecting.
Diffstat (limited to 'sleekxmpp')
-rw-r--r-- | sleekxmpp/clientxmpp.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sleekxmpp/clientxmpp.py b/sleekxmpp/clientxmpp.py index c8c389f6..6bcb36ba 100644 --- a/sleekxmpp/clientxmpp.py +++ b/sleekxmpp/clientxmpp.py @@ -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) |