Philipp Hörist pushed to branch master at gajim / gajim

Commits:
f2347224 by Philipp Hörist at 2017-10-16T17:04:35+02:00
Correctly pass authentication mechs to nbxmpp

- - - - -


1 changed file:

- gajim/common/connection.py


Changes:

=====================================
gajim/common/connection.py
=====================================
--- a/gajim/common/connection.py
+++ b/gajim/common/connection.py
@@ -1408,6 +1408,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/f234722456bebeb5d113e63e5d6eeeda9d48d14e

---
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/f234722456bebeb5d113e63e5d6eeeda9d48d14e
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