Make stealth invoices the default

This commit is contained in:
Reckless_Satoshi 2022-09-16 09:50:11 -07:00
parent f2cd20c8f0
commit 34a8fd99ed
No known key found for this signature in database
GPG Key ID: 9C4585B561315571
2 changed files with 1 additions and 2 deletions

View File

@ -654,7 +654,7 @@ class Profile(models.Model):
blank=True)
# Stealth invoices
wants_stealth = models.BooleanField(default=False,
wants_stealth = models.BooleanField(default=True,
null=False)
@receiver(post_save, sender=User)

View File

@ -735,7 +735,6 @@ class UserView(APIView):
user.profile.is_referred = True
user.profile.referred_by = queryset[0]
user.profile.wants_stealth = False
user.profile.save()
context["public_key"] = user.profile.public_key