Micro code improvement
This commit is contained in:
parent
c6044ca60a
commit
93e895dde1
1 changed files with 2 additions and 2 deletions
|
@ -643,8 +643,8 @@ class ConnectionVcard:
|
||||||
namespace=common.xmpp.NS_ROSTER_VER):
|
namespace=common.xmpp.NS_ROSTER_VER):
|
||||||
version = gajim.config.get_per('accounts', self.name,
|
version = gajim.config.get_per('accounts', self.name,
|
||||||
'roster_version')
|
'roster_version')
|
||||||
if version and not len(gajim.contacts.get_contacts_jid_list(
|
if version and not gajim.contacts.get_contacts_jid_list(
|
||||||
self.name)):
|
self.name):
|
||||||
gajim.config.set_per('accounts', self.name,
|
gajim.config.set_per('accounts', self.name,
|
||||||
'roster_version', '')
|
'roster_version', '')
|
||||||
version = None
|
version = None
|
||||||
|
|
Loading…
Add table
Reference in a new issue