mirror of
https://github.com/RoboSats/robosats.git
synced 2025-02-20 12:19:00 +00:00
Make stealth invoices the default
This commit is contained in:
parent
f2cd20c8f0
commit
34a8fd99ed
@ -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)
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user