Skip to content
Snippets Groups Projects
Commit 5e2d6efd authored by Anaël Verrier's avatar Anaël Verrier
Browse files

* fixed a bug when we remove a contact from our contact list (before we did...

* fixed a bug when we remove a contact from our contact list (before we did not remove contact from roster_group table)
parent 23394732
No related branches found
No related tags found
No related merge requests found
......@@ -858,6 +858,8 @@ class Logger:
jid_id = self.get_jid_id(jid)
except exceptions.PysqliteOperationalError, e:
raise exceptions.PysqliteOperationalError(str(e))
sql = 'DELETE FROM roster_group WHERE account_jid_id=%d AND jid_id=%d' % (account_jid_id, jid_id)
self.cur.execute(sql)
sql = 'DELETE FROM roster_entry WHERE account_jid_id=%d AND jid_id=%d' % (account_jid_id, jid_id)
self.simple_commit(sql)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment