mirror of
https://github.com/RoboSats/robosats.git
synced 2025-07-23 15:33:35 +00:00
Fix robots with tg enabled were being killed
This commit is contained in:
@ -28,6 +28,7 @@ def users_cleansing():
|
|||||||
user.profile.pending_rewards > 0
|
user.profile.pending_rewards > 0
|
||||||
or user.profile.earned_rewards > 0
|
or user.profile.earned_rewards > 0
|
||||||
or user.profile.claimed_rewards > 0
|
or user.profile.claimed_rewards > 0
|
||||||
|
or user.profile.telegram_enabled is True
|
||||||
):
|
):
|
||||||
continue
|
continue
|
||||||
if not user.profile.total_contracts == 0:
|
if not user.profile.total_contracts == 0:
|
||||||
|
Reference in New Issue
Block a user