Don't fully clean contact list on reconnect. Fixes #3733
This commit is contained in:
parent
7f73f0418d
commit
545eb1ec33
|
@ -1281,9 +1281,9 @@ class RosterWindow:
|
||||||
gajim.contacts.add_account(account)
|
gajim.contacts.add_account(account)
|
||||||
if not gajim.groups.has_key(account):
|
if not gajim.groups.has_key(account):
|
||||||
gajim.groups[account] = {}
|
gajim.groups[account] = {}
|
||||||
# Empty contact list
|
|
||||||
gajim.contacts.clear_contacts(account)
|
|
||||||
for jid in array.keys():
|
for jid in array.keys():
|
||||||
|
# Remove old Contact instances
|
||||||
|
gajim.contacts.remove_jid(account, jid)
|
||||||
jids = jid.split('/')
|
jids = jid.split('/')
|
||||||
# get jid
|
# get jid
|
||||||
ji = jids[0]
|
ji = jids[0]
|
||||||
|
|
Loading…
Reference in New Issue