From f234722456bebeb5d113e63e5d6eeeda9d48d14e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Mon, 16 Oct 2017 17:04:35 +0200 Subject: [PATCH] Correctly pass authentication mechs to nbxmpp --- gajim/common/connection.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gajim/common/connection.py b/gajim/common/connection.py index 679cacb41..4551535ba 100644 --- 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)