keep treeview consistent when connecting. Fixes #7434
This commit is contained in:
parent
ea30b6888b
commit
ea2eebdf11
|
@ -2642,7 +2642,7 @@ class RosterWindow:
|
||||||
def _nec_roster_received(self, obj):
|
def _nec_roster_received(self, obj):
|
||||||
if obj.received_from_server:
|
if obj.received_from_server:
|
||||||
self.fill_contacts_and_groups_dicts(obj.roster, obj.conn.name)
|
self.fill_contacts_and_groups_dicts(obj.roster, obj.conn.name)
|
||||||
self.add_account_contacts(obj.conn.name)
|
self.add_account_contacts(obj.conn.name, improve_speed=False)
|
||||||
self.fire_up_unread_messages_events(obj.conn.name)
|
self.fire_up_unread_messages_events(obj.conn.name)
|
||||||
else:
|
else:
|
||||||
if gajim.config.get('remember_opened_chat_controls'):
|
if gajim.config.get('remember_opened_chat_controls'):
|
||||||
|
|
Loading…
Reference in New Issue