mirror of
https://github.com/RoboSats/robosats.git
synced 2024-12-13 10:56:24 +00:00
Fix robots with tg enabled were being killed
This commit is contained in:
parent
6d4c948a53
commit
eac5a5f714
@ -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:
|
||||||
|
Loading…
Reference in New Issue
Block a user