Skip to content
Snippets Groups Projects
Commit 93e895dd authored by Alexander Cherniuk's avatar Alexander Cherniuk
Browse files

Micro code improvement

parent c6044ca6
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment