From 545eb1ec3396492c0b2e8a4b7d35b02ac2f482e8 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 10 Mar 2008 11:20:22 +0000 Subject: [PATCH] Don't fully clean contact list on reconnect. Fixes #3733 --- src/roster_window.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index a588be919..6d64ce556 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -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]