diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index a9a501b18..2ffc5549a 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -643,8 +643,8 @@ class ConnectionVcard: namespace=common.xmpp.NS_ROSTER_VER): version = gajim.config.get_per('accounts', self.name, 'roster_version') - if version and not len(gajim.contacts.get_contacts_jid_list( - self.name)): + if version and not gajim.contacts.get_contacts_jid_list( + self.name): gajim.config.set_per('accounts', self.name, 'roster_version', '') version = None