don't fail to connect when no <stream:features> is sent by server. Fixes #5610
This commit is contained in:
parent
00262e0963
commit
04db669265
|
@ -639,7 +639,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')
|
||||
|
|
Loading…
Reference in New Issue