Philipp Hörist pushed to branch gajim_0.16 at gajim / gajim

Commits:
7a98ebac by Philipp Hörist at 2017-10-16T17:12:40+02:00
Correctly pass authentication mechs to nbxmpp

- - - - -


1 changed file:

- src/common/connection.py


Changes:

=====================================
src/common/connection.py
=====================================
--- a/src/common/connection.py
+++ b/src/common/connection.py
@@ -1512,6 +1512,8 @@ class Connection(CommonConnection, ConnectionHandlers):
                 log.warning("Unknown authentication mechanisms %s" % mech)
         if len(auth_mechs) == 0:
             auth_mechs = None
+        else:
+            auth_mechs = set(auth_mechs)
         con.auth(user=name, password=self.password,
             resource=self.server_resource, sasl=True, on_auth=self.__on_auth, 
auth_mechs=auth_mechs)
 



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/7a98ebac4819e170a87c34fc338744a136c9fe73

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/7a98ebac4819e170a87c34fc338744a136c9fe73
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits

Reply via email to