Removed a change from the previous commit because I would not have done it. I need sleep.
This commit is contained in:
parent
5e744a3e8e
commit
5b9582bf01
|
@ -974,13 +974,8 @@ class Logger:
|
|||
(account_jid_id, jid_id))
|
||||
# Then we add all new groups information
|
||||
for group in groups:
|
||||
try:
|
||||
self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
|
||||
(account_jid_id, jid_id, group))
|
||||
except IntegrityError:
|
||||
# Some servers (like jabberd) seems to put contact twice in the
|
||||
# roster. So we do nothing if it appears. (see #5206)
|
||||
pass
|
||||
self.cur.execute('INSERT INTO roster_group VALUES(?, ?, ?)',
|
||||
(account_jid_id, jid_id, group))
|
||||
|
||||
if name is None:
|
||||
name = ''
|
||||
|
|
Loading…
Reference in New Issue