diff --git a/bot/docker b/bot/docker index 8063944d..9c0dc595 160000 --- a/bot/docker +++ b/bot/docker @@ -1 +1 @@ -Subproject commit 8063944d871d88a1400e45d3fdac29ee69485eb5 +Subproject commit 9c0dc595348f9ccd58409cc21171456d9ba85758 diff --git a/bot/src/bot_core/service/data_integrity_service.py b/bot/src/bot_core/service/data_integrity_service.py index cb3c0f6f..83f53551 100644 --- a/bot/src/bot_core/service/data_integrity_service.py +++ b/bot/src/bot_core/service/data_integrity_service.py @@ -398,6 +398,9 @@ class DataIntegrityService: if user is None: continue + for join in self._user_joins.get_user_joined_servers_by_user_id(user.id): + self._user_joins.delete_user_joined_server(join) + self._user_joins_vc.delete_user_joined_voice_channel_by_user_id(user.id) self._users.delete_user(user) self._db_context.save_changes()