don't show many accepted window when we add many contacts through RIE
This commit is contained in:
parent
a6a5e4de4e
commit
02e24ab120
|
@ -2932,7 +2932,11 @@ class RosterItemExchangeWindow:
|
||||||
groups = model[iter][3].split(', ')
|
groups = model[iter][3].split(', ')
|
||||||
if groups == ['']:
|
if groups == ['']:
|
||||||
groups = []
|
groups = []
|
||||||
gajim.interface.roster.req_sub(self, model[iter][1], message,
|
jid = model[iter][1].decode('utf-8')
|
||||||
|
if gajim.jid_is_transport(self.jid_from):
|
||||||
|
gajim.connections[self.account].automatically_added.append(
|
||||||
|
jid)
|
||||||
|
gajim.interface.roster.req_sub(self, jid, message,
|
||||||
self.account, groups=groups, nickname=model[iter][2],
|
self.account, groups=groups, nickname=model[iter][2],
|
||||||
auto_auth=True)
|
auto_auth=True)
|
||||||
iter = model.iter_next(iter)
|
iter = model.iter_next(iter)
|
||||||
|
|
Loading…
Reference in New Issue