Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits:
f0e8f647 by Philipp Hörist at 2023-11-21T23:03:09+01:00
fix: SASL2: Make login test mode work
- - - - -
1 changed file:
- nbxmpp/client.py
Changes:
=====================================
nbxmpp/client.py
=====================================
@@ -669,14 +669,14 @@ class Client(Observable):
# other connection methods if an error happensafterwards
self._connect_successful = True
+ self.state = StreamState.WAIT_FOR_FEATURES
+
+ elif self.state == StreamState.WAIT_FOR_FEATURES:
if self._stream_authenticated and self._mode.is_login_test:
self.notify('login-successful')
self.disconnect()
return
- self.state = StreamState.WAIT_FOR_FEATURES
-
- elif self.state == StreamState.WAIT_FOR_FEATURES:
if stanza.getName() != 'features':
self._log.error('Invalid response: %s', stanza)
self._disconnect_with_error(
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/f0e8f647f49c93669267fa89ecb0c7cbf537b222
--
View it on GitLab:
https://dev.gajim.org/gajim/python-nbxmpp/-/commit/f0e8f647f49c93669267fa89ecb0c7cbf537b222
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]