Micro code improvement

This commit is contained in:
Alexander Cherniuk 2010-05-03 06:42:37 +03:00
parent c6044ca60a
commit 93e895dde1
1 changed files with 2 additions and 2 deletions

View File

@ -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