diff --git a/src/common/logger.py b/src/common/logger.py index 99075a719..507b29cfa 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -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 = ''