improve connection with big roster. See #7125
This commit is contained in:
parent
b9679003b3
commit
9f94caf4ec
|
@ -266,7 +266,7 @@ class RosterWindow:
|
||||||
Add all contacts and groups of the given account to roster, draw them
|
Add all contacts and groups of the given account to roster, draw them
|
||||||
and account
|
and account
|
||||||
"""
|
"""
|
||||||
self.starting = True
|
self._before_fill()
|
||||||
jids = gajim.contacts.get_jid_list(account)
|
jids = gajim.contacts.get_jid_list(account)
|
||||||
|
|
||||||
for jid in jids:
|
for jid in jids:
|
||||||
|
@ -282,7 +282,7 @@ class RosterWindow:
|
||||||
self.draw_group(group, account)
|
self.draw_group(group, account)
|
||||||
self.draw_account(account)
|
self.draw_account(account)
|
||||||
|
|
||||||
self.starting = False
|
self._after_fill()
|
||||||
|
|
||||||
def _add_group_iter(self, account, group):
|
def _add_group_iter(self, account, group):
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue