Don't fully clean contact list on reconnect. Fixes #3733

This commit is contained in:
Yann Leboulanger 2008-03-10 11:20:22 +00:00
parent 7f73f0418d
commit 545eb1ec33
1 changed files with 2 additions and 2 deletions

View File

@ -1281,9 +1281,9 @@ class RosterWindow:
gajim.contacts.add_account(account)
if not gajim.groups.has_key(account):
gajim.groups[account] = {}
# Empty contact list
gajim.contacts.clear_contacts(account)
for jid in array.keys():
# Remove old Contact instances
gajim.contacts.remove_jid(account, jid)
jids = jid.split('/')
# get jid
ji = jids[0]