From eac5a5f71470ab37244c8c5d0d7dcad5cb61626a Mon Sep 17 00:00:00 2001 From: Reckless_Satoshi Date: Fri, 17 Mar 2023 13:01:59 -0700 Subject: [PATCH] Fix robots with tg enabled were being killed --- api/tasks.py | 1 + 1 file changed, 1 insertion(+) diff --git a/api/tasks.py b/api/tasks.py index ebd4f098..282d28f5 100644 --- a/api/tasks.py +++ b/api/tasks.py @@ -28,6 +28,7 @@ def users_cleansing(): user.profile.pending_rewards > 0 or user.profile.earned_rewards > 0 or user.profile.claimed_rewards > 0 + or user.profile.telegram_enabled is True ): continue if not user.profile.total_contracts == 0: