Commit 93e895dd authored by Alexander Cherniuk's avatar Alexander Cherniuk

Micro code improvement

parent c6044ca6
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment