diff options
author | Yann Leboulanger <asterix@lagaule.org> | 2010-02-16 11:27:19 +0300 |
---|---|---|
committer | Yann Leboulanger <asterix@lagaule.org> | 2010-02-16 11:27:19 +0300 |
commit | fb80d7019c308bca6dd7e104f2803a43efb7a7b8 (patch) | |
tree | 742b25bd7fdd4b3954e88f15e4ef1f4e12c7c425 | |
parent | 1910ad3726467609ff5fb55011d4700c515665b6 (diff) |
don't fail to connect when no <stream:features> is sent by server. Fixes #5610
-rw-r--r-- | src/common/connection_handlers.py | 2 |
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') |