Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann Leboulanger <asterix@lagaule.org>2010-02-16 11:27:19 +0300
committerYann Leboulanger <asterix@lagaule.org>2010-02-16 11:27:19 +0300
commitfb80d7019c308bca6dd7e104f2803a43efb7a7b8 (patch)
tree742b25bd7fdd4b3954e88f15e4ef1f4e12c7c425
parent1910ad3726467609ff5fb55011d4700c515665b6 (diff)
don't fail to connect when no <stream:features> is sent by server. Fixes #5610
-rw-r--r--src/common/connection_handlers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py
index 4c36bbfb9..91925152d 100644
--- a/src/common/connection_handlers.py
+++ b/src/common/connection_handlers.py
@@ -1185,7 +1185,7 @@ class ConnectionVcard:
# We can now continue connection by requesting the roster
version = None
- if con.Stream.features.getTag('ver',
+ if con.Stream.features and con.Stream.features.getTag('ver',
namespace=common.xmpp.NS_ROSTER_VER):
version = gajim.config.get_per('accounts', self.name,
'roster_version')