don't show many accepted window when we add many contacts through RIE

This commit is contained in:
Yann Leboulanger 2009-07-23 22:57:33 +02:00
parent a6a5e4de4e
commit 02e24ab120
1 changed files with 5 additions and 1 deletions

View File

@ -2932,7 +2932,11 @@ class RosterItemExchangeWindow:
groups = model[iter][3].split(', ')
if 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],
auto_auth=True)
iter = model.iter_next(iter)